#154E17#154E17

#154E17 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.104 H 143.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#154E17
RGBrgb(21, 78, 23)
HSLhsl(122, 58%, 19%)
HSVhsv(122, 73%, 31%)
CMYKcmyk(73.1%, 0%, 70.5%, 69.4%)
CIE-LABlab(28.56, -30.83, 26.49)
CIE-LCHlch(28.56, 40.65, 139.33°)
OKLaboklab(37.39% -0.0836 0.0616)
OKLCHoklch(37.39% 0.104 143.6)
XYZxyz(3.1881, 5.6697, 1.7368)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E17 #4E154C
analogous
#304E15 #154E17 #154E34
triadic
#154E17 #17154E #4E1715
tetradic
#154E17 #15304E #4E154C #4E3415
square
#154E17 #15304E #4E154C #4E3415
split-complementary
#154E17 #34154E #4E1530
monochromatic
#061807 #081E09 #154E17 #227E25 #2FAE33

Accessibility & contrast

On white

9.84
#154E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E17
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E17#FFFFFF#000000##FFFFFF
##154E171.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504610
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#074C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154e17;
/* rgb */ color: rgb(21, 78, 23);
/* oklch */ color: oklch(37.4% 0.104 143.6);
Tailwind
colors: {
  custom: {
    50: '#5c8057',
    500: '#154e17',
    950: '#000000',
  },
}
SCSS
$custom: #154e17;
$custom-light: #5c8057;
$custom-dark: #000000;
JSON
{
  "hex": "#154e17",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 122.105,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37394,
    "c": 0.10383,
    "h": 143.6
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#154E17
secondary
#863983
accent
#47DBE1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154E17

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

Preview Lab → · Contrast checker → · Palette generator →

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