#154E2D#154E2D

#154E2D is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.081 H 153.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#154E2D
RGBrgb(21, 78, 45)
HSLhsl(145, 58%, 19%)
HSVhsv(145, 73%, 31%)
CMYKcmyk(73.1%, 0%, 42.3%, 69.4%)
CIE-LABlab(28.90, -27.06, 14.32)
CIE-LCHlch(28.90, 30.61, 152.10°)
OKLaboklab(37.78% -0.0731 0.0358)
OKLCHoklch(37.78% 0.081 153.9)
XYZxyz(3.5070, 5.7973, 3.4163)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E2D #4E1536
analogous
#1A4E15 #154E2D #154E4A
triadic
#154E2D #2D154E #4E2D15
tetradic
#154E2D #151A4E #4E1536 #4E4A15
square
#154E2D #151A4E #4E1536 #4E4A15
split-complementary
#154E2D #4A154E #4E151A
monochromatic
#06180E #081E11 #154E2D #227E49 #2FAE65

Accessibility & contrast

On white

9.72
#154E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154E2D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E2D#FFFFFF#000000##FFFFFF
##154E2D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472B
Deuteranopia (green-blind)
#47422F
Tritanopia (blue-blind)
#004D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154e2d;
/* rgb */ color: rgb(21, 78, 45);
/* oklch */ color: oklch(37.8% 0.081 153.9);
Tailwind
colors: {
  custom: {
    50: '#5b8066',
    500: '#154e2d',
    950: '#000000',
  },
}
SCSS
$custom: #154e2d;
$custom-light: #5b8066;
$custom-dark: #000000;
JSON
{
  "hex": "#154e2d",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 45
  },
  "hsl": {
    "h": 145.263,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37775,
    "c": 0.08141,
    "h": 153.9
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#154E2D
secondary
#863965
accent
#47A0E1
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #154E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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