#154A22#154A22

#154A22 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.087 H 148.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#154A22
RGBrgb(21, 74, 34)
HSLhsl(135, 56%, 19%)
HSVhsv(135, 72%, 29%)
CMYKcmyk(71.6%, 0%, 54.1%, 71%)
CIE-LABlab(27.22, -27.46, 18.83)
CIE-LCHlch(27.22, 33.30, 145.57°)
OKLaboklab(36.33% -0.0741 0.0458)
OKLCHoklch(36.33% 0.087 148.3)
XYZxyz(3.0466, 5.1722, 2.3508)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A22 #4A153D
analogous
#224A15 #154A22 #154A3C
triadic
#154A22 #22154A #4A2215
tetradic
#154A22 #15224A #4A153D #4A3C15
square
#154A22 #15224A #4A153D #4A3C15
split-complementary
#154A22 #3C154A #4A1522
monochromatic
#07180B #071A0C #154A22 #237A38 #30A94E

Accessibility & contrast

On white

10.32
#154A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#154A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A22
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A22#FFFFFF#000000##FFFFFF
##154A221.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431F
Deuteranopia (green-blind)
#443E25
Tritanopia (blue-blind)
#044841
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a22;
/* rgb */ color: rgb(21, 74, 34);
/* oklch */ color: oklch(36.3% 0.087 148.3);
Tailwind
colors: {
  custom: {
    50: '#5a7d5e',
    500: '#154a22',
    950: '#000000',
  },
}
SCSS
$custom: #154a22;
$custom-light: #5a7d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#154a22",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 34
  },
  "hsl": {
    "h": 134.717,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36331,
    "c": 0.0871,
    "h": 148.3
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#154A22
secondary
#823970
accent
#49BADF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154A22

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

Preview Lab → · Contrast checker → · Palette generator →

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