#154E0B#154E0B

#154E0B is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.112 H 141.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#154E0B
RGBrgb(21, 78, 11)
HSLhsl(111, 75%, 17%)
HSVhsv(111, 86%, 31%)
CMYKcmyk(73.1%, 0%, 85.9%, 69.4%)
CIE-LABlab(28.46, -32.01, 31.66)
CIE-LCHlch(28.46, 45.02, 135.32°)
OKLaboklab(37.28% -0.0875 0.0707)
OKLCHoklch(37.28% 0.112 141.1)
XYZxyz(3.0939, 5.6321, 1.2406)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E0B #440B4E
analogous
#364E0B #154E0B #0B4E23
triadic
#154E0B #0B154E #4E0B15
tetradic
#154E0B #0B364E #440B4E #4E230B
square
#154E0B #0B364E #440B4E #4E230B
split-complementary
#154E0B #230B4E #4E0B36
monochromatic
#071B04 #071B04 #154E0B #238413 #32B91A

Accessibility & contrast

On white

9.88
#154E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E0B
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E0B#FFFFFF#000000##FFFFFF
##154E0B1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#4A4113
Tritanopia (blue-blind)
#0A4B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154e0b;
/* rgb */ color: rgb(21, 78, 11);
/* oklch */ color: oklch(37.3% 0.112 141.1);
Tailwind
colors: {
  custom: {
    50: '#5c8050',
    500: '#154e0b',
    950: '#000000',
  },
}
SCSS
$custom: #154e0b;
$custom-light: #5c8050;
$custom-dark: #000000;
JSON
{
  "hex": "#154e0b",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 111.045,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.11248,
    "h": 141.1
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#154E0B
secondary
#7C2B8A
accent
#36F2D6
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #154E0B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#154E0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva