#154D1C#154D1C

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

Color values

HEX#154D1C
RGBrgb(21, 77, 28)
HSLhsl(128, 57%, 19%)
HSVhsv(128, 73%, 30%)
CMYKcmyk(72.7%, 0%, 63.6%, 69.8%)
CIE-LABlab(28.25, -29.74, 23.50)
CIE-LCHlch(28.25, 37.91, 141.69°)
OKLaboklab(37.15% -0.0804 0.0557)
OKLCHoklch(37.15% 0.098 145.3)
XYZxyz(3.1725, 5.5507, 2.0026)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D1C #4D1546
analogous
#2A4D15 #154D1C #154D38
triadic
#154D1C #1C154D #4D1C15
tetradic
#154D1C #152A4D #4D1546 #4D3815
square
#154D1C #152A4D #4D1546 #4D3815
split-complementary
#154D1C #38154D #4D152A
monochromatic
#071809 #081D0B #154D1C #227D2D #2FAD3F

Accessibility & contrast

On white

9.95
#154D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154D1C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D1C#FFFFFF#000000##FFFFFF
##154D1C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4517
Deuteranopia (green-blind)
#484120
Tritanopia (blue-blind)
#054B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d1c;
/* rgb */ color: rgb(21, 77, 28);
/* oklch */ color: oklch(37.2% 0.098 145.3);
Tailwind
colors: {
  custom: {
    50: '#5b7f5a',
    500: '#154d1c',
    950: '#000000',
  },
}
SCSS
$custom: #154d1c;
$custom-light: #5b7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#154d1c",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 28
  },
  "hsl": {
    "h": 127.5,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37153,
    "c": 0.0978,
    "h": 145.3
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#154D1C
secondary
#85397B
accent
#47CDE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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