#154F2A#154F2A

#154F2A is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.086 H 151.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#154F2A
RGBrgb(21, 79, 42)
HSLhsl(142, 58%, 20%)
HSVhsv(142, 73%, 31%)
CMYKcmyk(73.4%, 0%, 46.8%, 69%)
CIE-LABlab(29.21, -28.14, 16.56)
CIE-LCHlch(29.21, 32.65, 149.52°)
OKLaboklab(38.01% -0.0759 0.0409)
OKLCHoklch(38.01% 0.086 151.7)
XYZxyz(3.5229, 5.9182, 3.1467)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F2A #4F153A
analogous
#1D4F15 #154F2A #154F47
triadic
#154F2A #2A154F #4F2A15
tetradic
#154F2A #151D4F #4F153A #4F4715
square
#154F2A #151D4F #4F153A #4F4715
split-complementary
#154F2A #47154F #4F151D
monochromatic
#06180D #081F10 #154F2A #227F44 #2FB05D

Accessibility & contrast

On white

9.62
#154F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#154F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F2A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F2A#FFFFFF#000000##FFFFFF
##154F2A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#48432C
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154f2a;
/* rgb */ color: rgb(21, 79, 42);
/* oklch */ color: oklch(38.0% 0.086 151.7);
Tailwind
colors: {
  custom: {
    50: '#5b8164',
    500: '#154f2a',
    950: '#000000',
  },
}
SCSS
$custom: #154f2a;
$custom-light: #5b8164;
$custom-dark: #000000;
JSON
{
  "hex": "#154f2a",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 42
  },
  "hsl": {
    "h": 141.724,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38012,
    "c": 0.08624,
    "h": 151.7
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#154F2A
secondary
#87396B
accent
#47A9E1
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #154F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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