Tailwind CSS v4 default palette
Tailwind lime-600: #5EA500
In Tailwind CSS v4, lime-600 is defined as --color-lime-600: oklch(64.8% 0.2 131.684), which is #5EA500 in hex and rgb(94, 165, 0): a medium, vivid green. In Tailwind v3, lime-600 was #65A30D.
In OKLCH, lime-600 has a lightness of 64.8%, chroma 0.200 and hue 131.7°.
This OKLCH value lies outside sRGB. The hex #5EA500 is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.4354 0.6406 0.0909).
In v3, lime-600 was #65A30D. The v4 value is ΔE OK 2.5 away; v4 is more saturated.
Tailwind lime is a yellow-green between yellow and green, bright and acidic in its mid shades.
Color codes for lime-600
| Tailwind v4 token | --color-lime-600 |
|---|---|
| OKLCH (source value) | oklch(64.8% 0.2 131.684) |
| HEX | #5EA500 |
| RGB | rgb(94, 165, 0) |
| HSL | hsl(86, 100%, 32%) |
| HWB | hwb(86 0% 35%) |
| CMYK (naive, no ICC profile) | cmyk(43%, 0%, 100%, 35%) |
| Decimal | 6,202,624 |
| Display P3 | color(display-p3 0.4354 0.6406 0.0909) |
| Tailwind v3 hex | #65A30D |
| Utility classes | bg-lime-600, text-lime-600, border-lime-600 |
Tailwind lime scale
Contrast and accessibility
On lime-600, black text has a contrast ratio of 6.85:1 and passes AA for normal text; white text reaches 3.06: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 lime-600 | 6.85:1 | Pass | Pass | Fail | Pass | 46.9 |
| White text on lime-600 | 3.06:1 | Fail | Pass | Fail | Fail | −62.5 |
| Lime-600 text on white | 3.06:1 | Fail | Pass | Fail | Fail | 57.1 |
| Lime-600 text on black | 6.85:1 | Pass | Pass | Fail | Pass | −44.6 |
Tints and shades
Each step mixes var(--color-lime-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-lime-600), white 25%) in CSS.
Tints (mixed with white)
- 5%
#66aa0d - 15%
#76b326 - 25%
#86bc40 - 35%
#96c559 - 45%
#a6ce73 - 55%
#b7d78c - 65%
#c7e0a6 - 75%
#d7e9bf - 85%
#e7f2d9 - 95%
#f7fbf2
Shades (mixed with black)
- 5%
#599d00 - 15%
#508c00 - 25%
#477c00 - 35%
#3d6b00 - 45%
#345b00 - 55%
#2a4a00 - 65%
#213a00 - 75%
#182900 - 85%
#0e1900 - 95%
#050800
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, lime-600's complementary color is #B662E5 (close to mediumorchid), its analogous colors are #A39000 and #00AC6D, and its triadic partners are #008FFF and #EE4A6E. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #b662e5 |
| Analogous | −30°, +30° | #a39000#00ac6d |
| Triadic | +120°, +240° | #008fff#ee4a6e |
| Split-complementary | +150°, +210° | #7f77ff#db51b1 |
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-600 sits on the boundary: its hue of 86° 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
| Color | HEX | ΔE OK |
|---|---|---|
| olivedrab | #6b8e23 | 8.1 |
| mediumseagreen | #3cb371 | 9.6 |
| forestgreen | #228b22 | 10.2 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| green-600 | #00a63e | 6.4 |
| green-500 | #00c950 | 10.1 |
| emerald-500 | #00bc7d | 11.3 |
Code snippets
<div class="bg-lime-600 text-black">...</div>
<p class="text-lime-600 border-lime-600">...</p>.element {
color: var(--color-lime-600);
background-color: oklch(64.8% 0.2 131.684);
border-color: #5ea500;
outline-color: rgb(94 165 0);
}import SwiftUI
extension Color {
static let lime600 = Color(red: 0.369, green: 0.647, blue: 0.000)
}import androidx.compose.ui.graphics.Color
val Lime600 = Color(0xFF5EA500)import 'package:flutter/material.dart';
const lime600 = Color(0xFF5EA500);<!-- res/values/colors.xml -->
<color name="lime_600">#5EA500</color>Frequently asked questions
- What is the hex code for Tailwind lime-600?
- In Tailwind CSS v4, lime-600 is oklch(64.8% 0.2 131.684), which converts to #5EA500 (rgb(94, 165, 0)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #65A30D.
- What is the difference between lime-600 in Tailwind v3 and v4?
- v3 used the hex #65A30D; v4 redefined the palette in OKLCH as oklch(64.8% 0.2 131.684). In v3, lime-600 was #65A30D. The v4 value is ΔE OK 2.5 away; v4 is more saturated.
- How do I use lime-600 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-lime-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on lime-600?
- White text on lime-600 has a contrast ratio of 3.06:1, which passes AA only for large text (24 px, or 18.66 px bold, and up) under WCAG 2.2. Black text reaches 6.85:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −62.5 for white and Lc 46.9 for black.
- Which CSS named color is closest to lime-600?
- The closest is olivedrab (#6B8E23) at ΔE OK 8.1, followed by mediumseagreen and forestgreen.
Last reviewed by Arielton Oberek.