#154D17#154D17

#154D17 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.102 H 143.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#154D17
RGBrgb(21, 77, 23)
HSLhsl(122, 57%, 19%)
HSVhsv(122, 73%, 30%)
CMYKcmyk(72.7%, 0%, 70.1%, 69.8%)
CIE-LABlab(28.19, -30.42, 26.07)
CIE-LCHlch(28.19, 40.07, 139.40°)
OKLaboklab(37.09% -0.0825 0.0607)
OKLCHoklch(37.09% 0.102 143.7)
XYZxyz(3.1176, 5.5287, 1.7133)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D17 #4D154B
analogous
#2F4D15 #154D17 #154D33
triadic
#154D17 #17154D #4D1715
tetradic
#154D17 #152F4D #4D154B #4D3315
square
#154D17 #152F4D #4D154B #4D3315
split-complementary
#154D17 #33154D #4D152F
monochromatic
#071807 #081D09 #154D17 #227D25 #2FAD34

Accessibility & contrast

On white

9.97
#154D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154D17
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D17#FFFFFF#000000##FFFFFF
##154D171.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4511
Deuteranopia (green-blind)
#48411C
Tritanopia (blue-blind)
#074B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154d17;
/* rgb */ color: rgb(21, 77, 23);
/* oklch */ color: oklch(37.1% 0.102 143.7);
Tailwind
colors: {
  custom: {
    50: '#5b7f56',
    500: '#154d17',
    950: '#000000',
  },
}
SCSS
$custom: #154d17;
$custom-light: #5b7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#154d17",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 122.143,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37086,
    "c": 0.10241,
    "h": 143.7
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#154D17
secondary
#853982
accent
#47DBE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154D17

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

Preview Lab → · Contrast checker → · Palette generator →

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