#154D1F#154D1F

#154D1F is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.095 H 146.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#154D1F
RGBrgb(21, 77, 31)
HSLhsl(131, 57%, 19%)
HSVhsv(131, 73%, 30%)
CMYKcmyk(72.7%, 0%, 59.7%, 69.8%)
CIE-LABlab(28.29, -29.28, 21.88)
CIE-LCHlch(28.29, 36.55, 143.23°)
OKLaboklab(37.2% -0.079 0.0524)
OKLCHoklch(37.2% 0.095 146.5)
XYZxyz(3.2102, 5.5658, 2.2012)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D1F #4D1543
analogous
#274D15 #154D1F #154D3B
triadic
#154D1F #1F154D #4D1F15
tetradic
#154D1F #15274D #4D1543 #4D3B15
square
#154D1F #15274D #4D1543 #4D3B15
split-complementary
#154D1F #3B154D #4D1527
monochromatic
#07180A #081D0C #154D1F #227D32 #2FAD46

Accessibility & contrast

On white

9.94
#154D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#154D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D1F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D1F#FFFFFF#000000##FFFFFF
##154D1F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461B
Deuteranopia (green-blind)
#474122
Tritanopia (blue-blind)
#044B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d1f;
/* rgb */ color: rgb(21, 77, 31);
/* oklch */ color: oklch(37.2% 0.095 146.5);
Tailwind
colors: {
  custom: {
    50: '#5b7f5c',
    500: '#154d1f',
    950: '#000000',
  },
}
SCSS
$custom: #154d1f;
$custom-light: #5b7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#154d1f",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 31
  },
  "hsl": {
    "h": 130.714,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37199,
    "c": 0.09483,
    "h": 146.5
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#154D1F
secondary
#853977
accent
#47C5E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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