#154E2B#154E2B

#154E2B is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.084 H 152.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#154E2B
RGBrgb(21, 78, 43)
HSLhsl(143, 58%, 19%)
HSVhsv(143, 73%, 31%)
CMYKcmyk(73.1%, 0%, 44.9%, 69.4%)
CIE-LABlab(28.86, -27.49, 15.50)
CIE-LCHlch(28.86, 31.56, 150.58°)
OKLaboklab(37.73% -0.0742 0.0385)
OKLCHoklch(37.73% 0.084 152.6)
XYZxyz(3.4694, 5.7823, 3.2183)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E2B #4E1538
analogous
#1C4E15 #154E2B #154E48
triadic
#154E2B #2B154E #4E2B15
tetradic
#154E2B #151C4E #4E1538 #4E4815
square
#154E2B #151C4E #4E1538 #4E4815
split-complementary
#154E2B #48154E #4E151C
monochromatic
#06180D #081E10 #154E2B #227E46 #2FAE60

Accessibility & contrast

On white

9.74
#154E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#154E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E2B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E2B#FFFFFF#000000##FFFFFF
##154E2B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4729
Deuteranopia (green-blind)
#47422D
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154e2b;
/* rgb */ color: rgb(21, 78, 43);
/* oklch */ color: oklch(37.7% 0.084 152.6);
Tailwind
colors: {
  custom: {
    50: '#5b8064',
    500: '#154e2b',
    950: '#000000',
  },
}
SCSS
$custom: #154e2b;
$custom-light: #5b8064;
$custom-dark: #000000;
JSON
{
  "hex": "#154e2b",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 43
  },
  "hsl": {
    "h": 143.158,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37731,
    "c": 0.08359,
    "h": 152.6
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#154E2B
secondary
#863968
accent
#47A5E1
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #154E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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