#154F22#154F22

#154F22 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.095 H 147.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#154F22
RGBrgb(21, 79, 34)
HSLhsl(133, 58%, 20%)
HSVhsv(133, 73%, 31%)
CMYKcmyk(73.4%, 0%, 57%, 69%)
CIE-LABlab(29.07, -29.64, 21.12)
CIE-LCHlch(29.07, 36.39, 144.52°)
OKLaboklab(37.86% -0.0799 0.0509)
OKLCHoklch(37.86% 0.095 147.5)
XYZxyz(3.3937, 5.8665, 2.4666)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F22 #4F1542
analogous
#254F15 #154F22 #154F3F
triadic
#154F22 #22154F #4F2215
tetradic
#154F22 #15254F #4F1542 #4F3F15
square
#154F22 #15254F #4F1542 #4F3F15
split-complementary
#154F22 #3F154F #4F1525
monochromatic
#06180A #081F0D #154F22 #227F37 #2FB04C

Accessibility & contrast

On white

9.66
#154F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#154F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F22
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F22#FFFFFF#000000##FFFFFF
##154F221.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481E
Deuteranopia (green-blind)
#494325
Tritanopia (blue-blind)
#024D45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154f22;
/* rgb */ color: rgb(21, 79, 34);
/* oklch */ color: oklch(37.9% 0.095 147.5);
Tailwind
colors: {
  custom: {
    50: '#5b815e',
    500: '#154f22',
    950: '#000000',
  },
}
SCSS
$custom: #154f22;
$custom-light: #5b815e;
$custom-dark: #000000;
JSON
{
  "hex": "#154f22",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 34
  },
  "hsl": {
    "h": 133.448,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3786,
    "c": 0.09477,
    "h": 147.5
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#154F22
secondary
#873975
accent
#47BFE1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154F22

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

Preview Lab → · Contrast checker → · Palette generator →

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