#154D1E#154D1E

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

Color values

HEX#154D1E
RGBrgb(21, 77, 30)
HSLhsl(130, 57%, 19%)
HSVhsv(130, 73%, 30%)
CMYKcmyk(72.7%, 0%, 61%, 69.8%)
CIE-LABlab(28.28, -29.44, 22.42)
CIE-LCHlch(28.28, 37.01, 142.70°)
OKLaboklab(37.18% -0.0795 0.0535)
OKLCHoklch(37.18% 0.096 146.1)
XYZxyz(3.1973, 5.5606, 2.1328)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D1E #4D1544
analogous
#284D15 #154D1E #154D3A
triadic
#154D1E #1E154D #4D1E15
tetradic
#154D1E #15284D #4D1544 #4D3A15
square
#154D1E #15284D #4D1544 #4D3A15
split-complementary
#154D1E #3A154D #4D1528
monochromatic
#071809 #081D0B #154D1E #227D31 #2FAD43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154D1E#FFFFFF#000000##FFFFFF
##154D1E1.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)
#4E461A
Deuteranopia (green-blind)
#474122
Tritanopia (blue-blind)
#054B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154d1e;
/* rgb */ color: rgb(21, 77, 30);
/* oklch */ color: oklch(37.2% 0.096 146.1);
Tailwind
colors: {
  custom: {
    50: '#5b7f5b',
    500: '#154d1e',
    950: '#000000',
  },
}
SCSS
$custom: #154d1e;
$custom-light: #5b7f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#154d1e",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 30
  },
  "hsl": {
    "h": 129.643,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37183,
    "c": 0.09583,
    "h": 146.1
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#154D1E
secondary
#853979
accent
#47C8E0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #154D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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