#154E2A#154E2A

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

Color values

HEX#154E2A
RGBrgb(21, 78, 42)
HSLhsl(142, 58%, 19%)
HSVhsv(142, 73%, 31%)
CMYKcmyk(73.1%, 0%, 46.2%, 69.4%)
CIE-LABlab(28.84, -27.69, 16.09)
CIE-LCHlch(28.84, 32.03, 149.85°)
OKLaboklab(37.71% -0.0747 0.0398)
OKLCHoklch(37.71% 0.085 151.9)
XYZxyz(3.4513, 5.7750, 3.1228)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E2A #4E1539
analogous
#1D4E15 #154E2A #154E47
triadic
#154E2A #2A154E #4E2A15
tetradic
#154E2A #151D4E #4E1539 #4E4715
square
#154E2A #151D4E #4E1539 #4E4715
split-complementary
#154E2A #47154E #4E151D
monochromatic
#06180D #081E10 #154E2A #227E44 #2FAE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154E2A#FFFFFF#000000##FFFFFF
##154E2A1.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)
#4E4727
Deuteranopia (green-blind)
#47422C
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154e2a;
/* rgb */ color: rgb(21, 78, 42);
/* oklch */ color: oklch(37.7% 0.085 151.9);
Tailwind
colors: {
  custom: {
    50: '#5b8064',
    500: '#154e2a',
    950: '#000000',
  },
}
SCSS
$custom: #154e2a;
$custom-light: #5b8064;
$custom-dark: #000000;
JSON
{
  "hex": "#154e2a",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 142.105,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37709,
    "c": 0.08468,
    "h": 151.9
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#154E2A
secondary
#86396A
accent
#47A8E1
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #154E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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