Skip to content

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.

olive-100#F4F4F0

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

Color codes for olive-100
Tailwind v4 token--color-olive-100
OKLCH (source value)oklch(96.6% 0.005 106.5)
HEX#F4F4F0
RGBrgb(244, 244, 240)
HSLhsl(60, 15%, 95%)
HWBhwb(60 94% 4%)
CMYK (naive, no ICC profile)cmyk(0%, 0%, 2%, 4%)
Decimal16,053,488
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on olive-10019.04:1PassPassPassPass99.3
White text on olive-1001.10:1FailFailFailFail0.0
Olive-100 text on white1.10:1FailFailFailFail0.0
Olive-100 text on black19.04:1PassPassPassPass−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)

  1. 5%
    #f5f5f1
  2. 15%
    #f6f6f2
  3. 25%
    #f7f7f4
  4. 35%
    #f8f8f5
  5. 45%
    #f9f9f7
  6. 55%
    #fafaf8
  7. 65%
    #fbfbfa
  8. 75%
    #fcfcfb
  9. 85%
    #fdfdfd
  10. 95%
    #fefefe

Shades (mixed with black)

  1. 5%
    #e8e8e4
  2. 15%
    #cfcfcc
  3. 25%
    #b7b7b4
  4. 35%
    #9f9f9c
  5. 45%
    #868684
  6. 55%
    #6e6e6c
  7. 65%
    #555554
  8. 75%
    #3d3d3c
  9. 85%
    #252524
  10. 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.

Color harmonies
HarmonyRotationColor
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.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
whitesmoke#f5f5f50.6
linen#faf0e61.5
seashell#fff5ee1.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
stone-100#f5f5f40.6
zinc-100#f4f4f50.6
mist-100#f1f3f30.6

Code snippets

Tailwind CSS
<div class="bg-olive-100 text-black">...</div>
<p class="text-olive-100 border-olive-100">...</p>
CSS
.element {
  color: var(--color-olive-100);
  background-color: oklch(96.6% 0.005 106.5);
  border-color: #f4f4f0;
  outline-color: rgb(244 244 240);
}
SwiftUI
import SwiftUI

extension Color {
  static let olive100 = Color(red: 0.957, green: 0.957, blue: 0.941)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Olive100 = Color(0xFFF4F4F0)
Flutter
import 'package:flutter/material.dart';

const olive100 = Color(0xFFF4F4F0);
Android XML
<!-- 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.