#154F2B#154F2B

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

Color values

HEX#154F2B
RGBrgb(21, 79, 43)
HSLhsl(143, 58%, 20%)
HSVhsv(143, 73%, 31%)
CMYKcmyk(73.4%, 0%, 45.6%, 69%)
CIE-LABlab(29.22, -27.94, 15.98)
CIE-LCHlch(29.22, 32.18, 150.23°)
OKLaboklab(38.03% -0.0754 0.0396)
OKLCHoklch(38.03% 0.085 152.3)
XYZxyz(3.5410, 5.9254, 3.2421)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F2B #4F1539
analogous
#1C4F15 #154F2B #154F48
triadic
#154F2B #2B154F #4F2B15
tetradic
#154F2B #151C4F #4F1539 #4F4815
square
#154F2B #151C4F #4F1539 #4F4815
split-complementary
#154F2B #48154F #4F151C
monochromatic
#06180D #081F11 #154F2B #227F45 #2FB060

Accessibility & contrast

On white

9.61
#154F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#154F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F2B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F2B#FFFFFF#000000##FFFFFF
##154F2B1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #154f2b;
/* rgb */ color: rgb(21, 79, 43);
/* oklch */ color: oklch(38.0% 0.085 152.3);
Tailwind
colors: {
  custom: {
    50: '#5b8164',
    500: '#154f2b',
    950: '#000000',
  },
}
SCSS
$custom: #154f2b;
$custom-light: #5b8164;
$custom-dark: #000000;
JSON
{
  "hex": "#154f2b",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 43
  },
  "hsl": {
    "h": 142.759,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38033,
    "c": 0.08516,
    "h": 152.3
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#154F2B
secondary
#873969
accent
#47A7E1
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #154F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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