#154A2D#154A2D

#154A2D is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.6% C 0.075 H 155.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#154A2D
RGBrgb(21, 74, 45)
HSLhsl(147, 56%, 19%)
HSVhsv(147, 72%, 29%)
CMYKcmyk(71.6%, 0%, 39.2%, 71%)
CIE-LABlab(27.42, -25.20, 12.36)
CIE-LCHlch(27.42, 28.07, 153.87°)
OKLaboklab(36.57% -0.0683 0.0311)
OKLCHoklch(36.57% 0.075 155.5)
XYZxyz(3.2314, 5.2461, 3.3244)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A2D #4A1532
analogous
#174A15 #154A2D #154A47
triadic
#154A2D #2D154A #4A2D15
tetradic
#154A2D #15174A #4A1532 #4A4715
square
#154A2D #15174A #4A1532 #4A4715
split-complementary
#154A2D #47154A #4A1517
monochromatic
#07180E #071A10 #154A2D #237A4A #30A967

Accessibility & contrast

On white

10.25
#154A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#154A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A2D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A2D#FFFFFF#000000##FFFFFF
##154A2D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442B
Deuteranopia (green-blind)
#433F2F
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154a2d;
/* rgb */ color: rgb(21, 74, 45);
/* oklch */ color: oklch(36.6% 0.075 155.5);
Tailwind
colors: {
  custom: {
    50: '#5a7d66',
    500: '#154a2d',
    950: '#000000',
  },
}
SCSS
$custom: #154a2d;
$custom-light: #5a7d66;
$custom-dark: #000000;
JSON
{
  "hex": "#154a2d",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 45
  },
  "hsl": {
    "h": 147.17,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36566,
    "c": 0.07504,
    "h": 155.5
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#154A2D
secondary
#823961
accent
#499BDF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #154A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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