#154F2D#154F2D

#154F2D is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.083 H 153.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#154F2D
RGBrgb(21, 79, 45)
HSLhsl(145, 58%, 20%)
HSVhsv(145, 73%, 31%)
CMYKcmyk(73.4%, 0%, 43%, 69%)
CIE-LABlab(29.26, -27.51, 14.81)
CIE-LCHlch(29.26, 31.25, 151.70°)
OKLaboklab(38.08% -0.0743 0.0369)
OKLCHoklch(38.08% 0.083 153.6)
XYZxyz(3.5786, 5.9405, 3.4401)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F2D #4F1537
analogous
#1A4F15 #154F2D #154F4A
triadic
#154F2D #2D154F #4F2D15
tetradic
#154F2D #151A4F #4F1537 #4F4A15
square
#154F2D #151A4F #4F1537 #4F4A15
split-complementary
#154F2D #4A154F #4F151A
monochromatic
#06180E #081F11 #154F2D #227F49 #2FB064

Accessibility & contrast

On white

9.60
#154F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154F2D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F2D#FFFFFF#000000##FFFFFF
##154F2D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #154f2d;
/* rgb */ color: rgb(21, 79, 45);
/* oklch */ color: oklch(38.1% 0.083 153.6);
Tailwind
colors: {
  custom: {
    50: '#5b8166',
    500: '#154f2d',
    950: '#000000',
  },
}
SCSS
$custom: #154f2d;
$custom-light: #5b8166;
$custom-dark: #000000;
JSON
{
  "hex": "#154f2d",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 45
  },
  "hsl": {
    "h": 144.828,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.08299,
    "h": 153.6
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#154F2D
secondary
#873967
accent
#47A1E1
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #154F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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