#154E22#154E22

#154E22 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.093 H 147.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#154E22
RGBrgb(21, 78, 34)
HSLhsl(134, 58%, 19%)
HSVhsv(134, 73%, 31%)
CMYKcmyk(73.1%, 0%, 56.4%, 69.4%)
CIE-LABlab(28.70, -29.21, 20.67)
CIE-LCHlch(28.70, 35.78, 144.72°)
OKLaboklab(37.56% -0.0788 0.0499)
OKLCHoklch(37.56% 0.093 147.6)
XYZxyz(3.3221, 5.7234, 2.4427)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E22 #4E1541
analogous
#254E15 #154E22 #154E3F
triadic
#154E22 #22154E #4E2215
tetradic
#154E22 #15254E #4E1541 #4E3F15
square
#154E22 #15254E #4E1541 #4E3F15
split-complementary
#154E22 #3F154E #4E1525
monochromatic
#06180B #081E0D #154E22 #227E37 #2FAE4C

Accessibility & contrast

On white

9.79
#154E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154E22
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E22#FFFFFF#000000##FFFFFF
##154E221.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471E
Deuteranopia (green-blind)
#484225
Tritanopia (blue-blind)
#024C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154e22;
/* rgb */ color: rgb(21, 78, 34);
/* oklch */ color: oklch(37.6% 0.093 147.6);
Tailwind
colors: {
  custom: {
    50: '#5b805e',
    500: '#154e22',
    950: '#000000',
  },
}
SCSS
$custom: #154e22;
$custom-light: #5b805e;
$custom-dark: #000000;
JSON
{
  "hex": "#154e22",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 133.684,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.09325,
    "h": 147.6
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#154E22
secondary
#863974
accent
#47BEE1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154E22

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

Preview Lab → · Contrast checker → · Palette generator →

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