Tailwind CSS v4 default palette
Tailwind olive-100: #F4F4F0
In Tailwind CSS v4, olive-100 is defined as --color-olive-100: oklch(96.6% 0.005 106.5), which is #F4F4F0 in hex and rgb(244, 244, 240): a near-white with a faint yellow tint.
In OKLCH, olive-100 has a lightness of 96.6%, chroma 0.005 and hue 106.5°.
The value fits inside sRGB, so the hex #F4F4F0 represents it without loss on any screen.
Tailwind olive is a tinted neutral added in v4.2: a gray with a yellow-green cast. It has no v3 equivalent.
Color codes for olive-100
| Tailwind v4 token | --color-olive-100 |
|---|---|
| OKLCH (source value) | oklch(96.6% 0.005 106.5) |
| HEX | #F4F4F0 |
| RGB | rgb(244, 244, 240) |
| HSL | hsl(60, 15%, 95%) |
| HWB | hwb(60 94% 4%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 0%, 2%, 4%) |
| Decimal | 16,053,488 |
| Utility classes | bg-olive-100, text-olive-100, border-olive-100 |
Tailwind olive scale
Contrast and accessibility
On olive-100, black text has a contrast ratio of 19.04:1 and passes AAA at any text size; white text reaches 1.10:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on olive-100 | 19.04:1 | Pass | Pass | Pass | Pass | 99.3 |
| White text on olive-100 | 1.10:1 | Fail | Fail | Fail | Fail | 0.0 |
| Olive-100 text on white | 1.10:1 | Fail | Fail | Fail | Fail | 0.0 |
| Olive-100 text on black | 19.04:1 | Pass | Pass | Pass | Pass | −100.5 |
Tints and shades
Each step mixes var(--color-olive-100) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-olive-100), white 25%) in CSS.
Tints (mixed with white)
- 5%
#f5f5f1 - 15%
#f6f6f2 - 25%
#f7f7f4 - 35%
#f8f8f5 - 45%
#f9f9f7 - 55%
#fafaf8 - 65%
#fbfbfa - 75%
#fcfcfb - 85%
#fdfdfd - 95%
#fefefe
Shades (mixed with black)
- 5%
#e8e8e4 - 15%
#cfcfcc - 25%
#b7b7b4 - 35%
#9f9f9c - 45%
#868684 - 55%
#6e6e6c - 65%
#555554 - 75%
#3d3d3c - 85%
#252524 - 95%
#0c0c0c
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, olive-100's complementary color is #F3F3F7 (close to whitesmoke), its analogous colors are #F6F3F0 and #F2F5F1, and its triadic partners are #F0F4F6 and #F6F2F4. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #f3f3f7 |
| Analogous | −30°, +30° | #f6f3f0#f2f5f1 |
| Triadic | +120°, +240° | #f0f4f6#f6f2f4 |
| Split-complementary | +150°, +210° | #f2f4f7#f5f3f6 |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Tailwind olive-100 is close to neutral: its OKLCH chroma is only 0.005, so its temperature comes from context. The faint 60° hue gives it a slightly warm cast.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Code snippets
<div class="bg-olive-100 text-black">...</div>
<p class="text-olive-100 border-olive-100">...</p>.element {
color: var(--color-olive-100);
background-color: oklch(96.6% 0.005 106.5);
border-color: #f4f4f0;
outline-color: rgb(244 244 240);
}import SwiftUI
extension Color {
static let olive100 = Color(red: 0.957, green: 0.957, blue: 0.941)
}import androidx.compose.ui.graphics.Color
val Olive100 = Color(0xFFF4F4F0)import 'package:flutter/material.dart';
const olive100 = Color(0xFFF4F4F0);<!-- res/values/colors.xml -->
<color name="olive_100">#F4F4F0</color>Frequently asked questions
- What is the hex code for Tailwind olive-100?
- In Tailwind CSS v4, olive-100 is oklch(96.6% 0.005 106.5), which converts to #F4F4F0 (rgb(244, 244, 240)) in sRGB.
- Is olive-100 available in Tailwind v3?
- No. The olive scale was added in Tailwind CSS v4.2. In v3 you can recreate it in tailwind.config.js under theme.extend.colors with the hex #F4F4F0.
- How do I use olive-100 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-olive-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on olive-100?
- White text on olive-100 has a contrast ratio of 1.10:1, which fails AA even for large text under WCAG 2.2. Black text reaches 19.04:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 99.3 for black.
- Which CSS named color is closest to olive-100?
- The closest is whitesmoke (#F5F5F5) at ΔE OK 0.6, followed by linen and seashell.
Last reviewed by Arielton Oberek.