#154A17#154A17

#154A17 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.098 H 143.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#154A17
RGBrgb(21, 74, 23)
HSLhsl(122, 56%, 19%)
HSVhsv(122, 72%, 29%)
CMYKcmyk(71.6%, 0%, 68.9%, 71%)
CIE-LABlab(27.07, -29.18, 24.82)
CIE-LCHlch(27.07, 38.31, 139.62°)
OKLaboklab(36.16% -0.0791 0.058)
OKLCHoklch(36.16% 0.098 143.8)
XYZxyz(2.9125, 5.1186, 1.6449)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A17 #4A1548
analogous
#2D4A15 #154A17 #154A31
triadic
#154A17 #17154A #4A1715
tetradic
#154A17 #152D4A #4A1548 #4A3115
square
#154A17 #152D4A #4A1548 #4A3115
split-complementary
#154A17 #31154A #4A152D
monochromatic
#071807 #071A08 #154A17 #237A26 #30A935

Accessibility & contrast

On white

10.38
#154A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#154A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A17
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A17#FFFFFF#000000##FFFFFF
##154A171.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4311
Deuteranopia (green-blind)
#453E1B
Tritanopia (blue-blind)
#09483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a17;
/* rgb */ color: rgb(21, 74, 23);
/* oklch */ color: oklch(36.2% 0.098 143.8);
Tailwind
colors: {
  custom: {
    50: '#5a7d56',
    500: '#154a17',
    950: '#000000',
  },
}
SCSS
$custom: #154a17;
$custom-light: #5a7d56;
$custom-dark: #000000;
JSON
{
  "hex": "#154a17",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 23
  },
  "hsl": {
    "h": 122.264,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36158,
    "c": 0.09812,
    "h": 143.8
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#154A17
secondary
#82397F
accent
#49D9DF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154A17

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

Preview Lab → · Contrast checker → · Palette generator →

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