#154E1B#154E1B

#154E1B is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.100 H 144.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#154E1B
RGBrgb(21, 78, 27)
HSLhsl(126, 58%, 19%)
HSVhsv(126, 73%, 31%)
CMYKcmyk(73.1%, 0%, 65.4%, 69.4%)
CIE-LABlab(28.61, -30.30, 24.46)
CIE-LCHlch(28.61, 38.94, 141.09°)
OKLaboklab(37.45% -0.082 0.0577)
OKLCHoklch(37.45% 0.1 144.9)
XYZxyz(3.2313, 5.6870, 1.9641)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E1B #4E1548
analogous
#2C4E15 #154E1B #154E38
triadic
#154E1B #1B154E #4E1B15
tetradic
#154E1B #152C4E #4E1548 #4E3815
square
#154E1B #152C4E #4E1548 #4E3815
split-complementary
#154E1B #38154E #4E152C
monochromatic
#061808 #081E0A #154E1B #227E2C #2FAE3C

Accessibility & contrast

On white

9.83
#154E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#154E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E1B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E1B#FFFFFF#000000##FFFFFF
##154E1B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4616
Deuteranopia (green-blind)
#49421F
Tritanopia (blue-blind)
#054C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154e1b;
/* rgb */ color: rgb(21, 78, 27);
/* oklch */ color: oklch(37.4% 0.100 144.9);
Tailwind
colors: {
  custom: {
    50: '#5b8059',
    500: '#154e1b',
    950: '#000000',
  },
}
SCSS
$custom: #154e1b;
$custom-light: #5b8059;
$custom-dark: #000000;
JSON
{
  "hex": "#154e1b",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 126.316,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37446,
    "c": 0.10022,
    "h": 144.9
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#154E1B
secondary
#86397E
accent
#47D1E1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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