Skip to content

Tailwind CSS v4 default palette

Tailwind lime-950: #192E03

In Tailwind CSS v4, lime-950 is defined as --color-lime-950: oklch(27.4% 0.072 132.109), which is #192E03 in hex and rgb(25, 46, 3): a very dark, muted green. In Tailwind v3, lime-950 was #1A2E05.

lime-950#192E03

In OKLCH, lime-950 has a lightness of 27.4%, chroma 0.072 and hue 132.1°.

The value fits inside sRGB, so the hex #192E03 represents it without loss on any screen.

In v3, lime-950 was #1A2E05. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.

Tailwind lime is a yellow-green between yellow and green, bright and acidic in its mid shades.

Color codes for lime-950

Color codes for lime-950
Tailwind v4 token--color-lime-950
OKLCH (source value)oklch(27.4% 0.072 132.109)
HEX#192E03
RGBrgb(25, 46, 3)
HSLhsl(89, 88%, 10%)
HWBhwb(89 1% 82%)
CMYK (naive, no ICC profile)cmyk(46%, 0%, 93%, 82%)
Decimal1,650,179
Tailwind v3 hex#1A2E05
Utility classesbg-lime-950, text-lime-950, border-lime-950

Tailwind lime scale

Contrast and accessibility

On lime-950, white text has a contrast ratio of 14.64:1 and passes AAA at any text size; black text reaches 1.43: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 lime-9501.43:1FailFailFailFail0.0
White text on lime-95014.64:1PassPassPassPass−104.2
Lime-950 text on white14.64:1PassPassPassPass101.3
Lime-950 text on black1.43:1FailFailFailFail0.0

Tints and shades

Each step mixes var(--color-lime-950) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-lime-950), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #253810
  2. 15%
    #3c4d29
  3. 25%
    #536242
  4. 35%
    #6a775b
  5. 45%
    #818c74
  6. 55%
    #98a18e
  7. 65%
    #afb6a7
  8. 75%
    #c6cbc0
  9. 85%
    #dde0d9
  10. 95%
    #f4f5f2

Shades (mixed with black)

  1. 5%
    #182c03
  2. 15%
    #152703
  3. 25%
    #132302
  4. 35%
    #101e02
  5. 45%
    #0e1902
  6. 55%
    #0b1501
  7. 65%
    #091001
  8. 75%
    #060c01
  9. 85%
    #040700
  10. 95%
    #010200

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, lime-950's complementary color is #331B40 (close to midnightblue), its analogous colors are #2F2800 and #00321C, and its triadic partners are #072849 and #44151E. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#331b40
Analogous−30°, +30°#2f2800#00321c
Triadic+120°, +240°#072849#44151e
Split-complementary+150°, +210°#232149#3e1731

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 lime-950 sits on the boundary: its hue of 89° on the HSL wheel is a yellow-green, which reads warm next to blues and cool next to reds and oranges.

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
darkslategray#2f4f4f14.4
darkgreen#00640018.0
midnightblue#19197020.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
green-950#032e152.7
emerald-950#002c224.8
olive-800#2b2b225.9

Code snippets

Tailwind CSS
<div class="bg-lime-950 text-white">...</div>
<p class="text-lime-950 border-lime-950">...</p>
CSS
.element {
  color: var(--color-lime-950);
  background-color: oklch(27.4% 0.072 132.109);
  border-color: #192e03;
  outline-color: rgb(25 46 3);
}
SwiftUI
import SwiftUI

extension Color {
  static let lime950 = Color(red: 0.098, green: 0.180, blue: 0.012)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const lime950 = Color(0xFF192E03);
Android XML
<!-- res/values/colors.xml -->
<color name="lime_950">#192E03</color>

Frequently asked questions

What is the hex code for Tailwind lime-950?
In Tailwind CSS v4, lime-950 is oklch(27.4% 0.072 132.109), which converts to #192E03 (rgb(25, 46, 3)) in sRGB. In Tailwind v3 the same name was #1A2E05.
What is the difference between lime-950 in Tailwind v3 and v4?
v3 used the hex #1A2E05; v4 redefined the palette in OKLCH as oklch(27.4% 0.072 132.109). In v3, lime-950 was #1A2E05. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
How do I use lime-950 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-lime-950). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on lime-950?
White text on lime-950 has a contrast ratio of 14.64:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.43:1 and fails AA even for large text. In APCA terms that is Lc −104.2 for white and Lc 0.0 for black.
Which CSS named color is closest to lime-950?
The closest is darkslategray (#2F4F4F) at ΔE OK 14.4, followed by darkgreen and midnightblue.

Last reviewed by Arielton Oberek.