Tailwind CSS v3 color

Tailwind lime-600 #65A30D

Tailwind CSS v3's lime-600 is #65A30D. It is a vivid green in the green family. In OKLCH it sits at lightness 0.648, chroma 0.175 and hue 131.7°. The nearest CSS named color is olivedrab (#6B8E23), ΔE2000 7.3 away.

Relative luminance
0.2899
OKLCH L · C · h
0.648 · 0.175 · 131.7
Best text
Black 6.79:1
Hue family
Green

#65A30D color codes

HEX
#65A30D
RGB
rgb(101, 163, 13)
HSL
hsl(85, 85%, 35%)
OKLCH
oklch(0.648 0.175 131.7)
OKLab
oklab(0.648 -0.117 0.131)
CIELAB (D65)
L* 60.77, a* -40.96, b* 60.75
XYZ (D65)
X 18.54, Y 28.99, Z 5.00
CMYK (naive)
cmyk(38%, 0%, 92%, 36%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #65A30D accessible?

Black text on it reaches 6.79:1, passing AA. White text manages only 3.08:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    6.79:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +46
  • White text on it

    3.08:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −62
  • As text on black

    6.79:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −44
  • As text on white

    3.08:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +57

Nearest versions that pass 4.5:1

  • For text on white

    #4F8300 4.58:1

    Darkening its OKLCH lightness from 0.65 to 0.55 reaches 4.58:1 on white, keeping the hue.

  • For text on black

    #65A30D 6.79:1

    It already reaches 6.79:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #65A30D live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #65A30D

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #65A30D sits at step 500.

  1. 50#E5FFD2
    White
    1.07
    Black
    19.56
  2. 100#C9FF9A
    White
    1.15
    Black
    18.25
  3. 200#B2EC7D
    White
    1.38
    Black
    15.18
  4. 300#96D35B
    White
    1.78
    Black
    11.76
  5. 400#78B633
    White
    2.45
    Black
    8.53
  6. 500This color#65A30D
    White
    3.08
    Black
    6.79
  7. 600#4D7F00
    White
    4.82
    Black
    4.35
  8. 700#3C6600
    White
    6.79
    Black
    3.09
  9. 800#2A4A00
    White
    10.10
    Black
    2.07
  10. 900#1A3000
    White
    14.31
    Black
    1.46
  11. 950#0C1B00
    White
    17.91
    Black
    1.17

Under each step, white and black text on it; a bold figure passes 4.5:1.

Tailwind CSS v3 lime scale

The real Tailwind palette, for comparison with the computed ramp above.

  1. 50#F7FEE7
    White
    1.03
    Black
    20.28
  2. 100#ECFCCB
    White
    1.08
    Black
    19.35
  3. 200#D9F99D
    White
    1.16
    Black
    17.98
  4. 300#BEF264
    White
    1.30
    Black
    16.07
  5. 400#A3E635
    White
    1.50
    Black
    13.92
  6. 500#84CC16
    White
    1.97
    Black
    10.62
  7. 600This color#65A30D
    White
    3.08
    Black
    6.79
  8. 700#4D7C0F
    White
    4.99
    Black
    4.20
  9. 800#3F6212
    White
    7.07
    Black
    2.96
  10. 900#365314
    White
    8.73
    Black
    2.40
  11. 950#1A2E05
    White
    14.61
    Black
    1.43

Gamut

How vivid #65A30D can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.179; #65A30D uses 98% of it. Display P3, which many recent phones and laptops show, reaches 0.210 there: 17% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.175
sRGB edge
0.179
Display P3 edge
0.210
Rec. 2020 edge
0.217
Dominant wavelength
559 nm
Excitation purity
74%
Chromaticity
x 0.3529, y 0.5519
  • This color#65A30D
  • Most vivid in sRGB#64A300
  • Most vivid in Display P3oklch(0.648 0.210 131.7)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #65a30d;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.429 0.6438 0); }
}

Mixing

Mixing #65A30D

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#B2D186
  • OKLab50%#B1D296
  • OKLCH50%#B1D296

Black #000000

  • sRGB50%#335207
  • OKLab50%#223C02
  • OKLCH50%#223C02

Its complement #B16ADB

  • sRGB50%#8B8774
  • OKLab50%#8E8F8E
  • OKLCH50%#009EC2
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #65a30d, white);
color: color-mix(in oklch, #65a30d 50%, white);

In use

#65A30D in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:16.79:1 Passes
  • Link and body-size textText, 4.5:13.08:1 Fails
  • Large headingLarge text, 3:13.08:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.08:1 Passes

For text on this page, the nearest shade that passes is #4F8300 4.58:1

Dark page

  • Button labelText, 4.5:16.79:1 Passes
  • Link and body-size textText, 4.5:16.06:1 Passes
  • Large headingLarge text, 3:16.06:1 Passes
  • Icons, borders and focus ringsNon-text, 3:16.06:1 Passes

Color vision

How #65A30D looks with color blindness

Achromatopsia changes it most, ΔE2000 27.7; deuteranopia changes it least, 17.5.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #AA9600 ΔE2000 18.5

    Distinct

    Reads as light soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #A29125 ΔE2000 17.5

    Distinct

    Reads as soft amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #679C8A ΔE2000 22.7

    Distinct

    Reads as muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #939393 ΔE2000 27.7

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #B16ADB. Their lightness contrast is only 1.14:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#65A30D · #B16ADB79.8Stays distinct
Protanopia#AA9600 · #4D85DF57.7Stays distinct
Deuteranopia#A29125 · #638AD853.3Stays distinct
Tritanopia#679C8A · #AC7D9936.9Stays distinct
Achromatopsia#939393 · #8888883.8Easily confused

Harmony

Color harmonies for #65A30D

Its complement is #B16ADB, a vivid violet.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#65A30D
  • Complement#B16ADB

Complementary

Open in Harmony Studio
  • −30°#A09000
  • Base#65A30D
  • +30°#00A973
  • Base#65A30D
  • +120°#2591F5
  • +240°#E45772
  • Base#65A30D
  • +150°#807CF5
  • +210°#D35CAD

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-lime-600: #65a30d;
}

Tailwind config

// tailwind.config.js — already built in as lime-600;
// pin the v3 value explicitly like this:
module.exports = {
  theme: {
    extend: {
      colors: {
        lime: { 600: '#65a30d' },
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  /* v4 has its own lime-600; this pins the v3 value. */
  --color-lime-600: oklch(0.648 0.175 131.7);
}

Design token (W3C DTCG)

{
  "color": {
    "lime-600": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.3961, 0.6392, 0.051],
        "hex": "#65a30d"
      },
      "$description": "Tailwind CSS v3 lime-600"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let lime600 = Color(.sRGB, red: 0.396, green: 0.639, blue: 0.051, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Lime600 = Color(0xFF65A30D)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #65A30D in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.