#154E18#154E18

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

Color values

HEX#154E18
RGBrgb(21, 78, 24)
HSLhsl(123, 58%, 19%)
HSVhsv(123, 73%, 31%)
CMYKcmyk(73.1%, 0%, 69.2%, 69.4%)
CIE-LABlab(28.57, -30.71, 25.99)
CIE-LCHlch(28.57, 40.23, 139.75°)
OKLaboklab(37.41% -0.0832 0.0606)
OKLCHoklch(37.41% 0.103 143.9)
XYZxyz(3.1983, 5.6738, 1.7906)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E18 #4E154B
analogous
#2F4E15 #154E18 #154E35
triadic
#154E18 #18154E #4E1815
tetradic
#154E18 #152F4E #4E154B #4E3515
square
#154E18 #152F4E #4E154B #4E3515
split-complementary
#154E18 #35154E #4E152F
monochromatic
#061807 #081E09 #154E18 #227E27 #2FAE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154E18#FFFFFF#000000##FFFFFF
##154E181.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)
#504612
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#064C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154e18;
/* rgb */ color: rgb(21, 78, 24);
/* oklch */ color: oklch(37.4% 0.103 143.9);
Tailwind
colors: {
  custom: {
    50: '#5b8057',
    500: '#154e18',
    950: '#000000',
  },
}
SCSS
$custom: #154e18;
$custom-light: #5b8057;
$custom-dark: #000000;
JSON
{
  "hex": "#154e18",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 123.158,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.10296,
    "h": 143.9
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#154E18
secondary
#863982
accent
#47D9E1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154E18

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

Preview Lab → · Contrast checker → · Palette generator →

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