#154D1B#154D1B

#154D1B is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.099 H 144.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#154D1B
RGBrgb(21, 77, 27)
HSLhsl(126, 57%, 19%)
HSVhsv(126, 73%, 30%)
CMYKcmyk(72.7%, 0%, 64.9%, 69.8%)
CIE-LABlab(28.24, -29.89, 24.03)
CIE-LCHlch(28.24, 38.35, 141.20°)
OKLaboklab(37.14% -0.0808 0.0567)
OKLCHoklch(37.14% 0.099 144.9)
XYZxyz(3.1608, 5.5460, 1.9406)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D1B #4D1547
analogous
#2B4D15 #154D1B #154D37
triadic
#154D1B #1B154D #4D1B15
tetradic
#154D1B #152B4D #4D1547 #4D3715
square
#154D1B #152B4D #4D1547 #4D3715
split-complementary
#154D1B #37154D #4D152B
monochromatic
#071808 #081D0A #154D1B #227D2C #2FAD3D

Accessibility & contrast

On white

9.96
#154D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#154D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D1B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D1B#FFFFFF#000000##FFFFFF
##154D1B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4516
Deuteranopia (green-blind)
#48411F
Tritanopia (blue-blind)
#064B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d1b;
/* rgb */ color: rgb(21, 77, 27);
/* oklch */ color: oklch(37.1% 0.099 144.9);
Tailwind
colors: {
  custom: {
    50: '#5b7f59',
    500: '#154d1b',
    950: '#000000',
  },
}
SCSS
$custom: #154d1b;
$custom-light: #5b7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#154d1b",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 27
  },
  "hsl": {
    "h": 126.429,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37138,
    "c": 0.09876,
    "h": 144.9
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#154D1B
secondary
#85397D
accent
#47D0E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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