#154A18#154A18

#154A18 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.097 H 144.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#154A18
RGBrgb(21, 74, 24)
HSLhsl(123, 56%, 19%)
HSVhsv(123, 72%, 29%)
CMYKcmyk(71.6%, 0%, 67.6%, 71%)
CIE-LABlab(27.08, -29.05, 24.30)
CIE-LCHlch(27.08, 37.87, 140.08°)
OKLaboklab(36.17% -0.0787 0.057)
OKLCHoklch(36.17% 0.097 144.1)
XYZxyz(2.9227, 5.1226, 1.6987)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A18 #4A1547
analogous
#2C4A15 #154A18 #154A32
triadic
#154A18 #18154A #4A1815
tetradic
#154A18 #152C4A #4A1547 #4A3215
square
#154A18 #152C4A #4A1547 #4A3215
split-complementary
#154A18 #32154A #4A152C
monochromatic
#071808 #071A09 #154A18 #237A27 #30A937

Accessibility & contrast

On white

10.37
#154A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#154A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A18
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A18#FFFFFF#000000##FFFFFF
##154A181.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#453E1C
Tritanopia (blue-blind)
#08483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a18;
/* rgb */ color: rgb(21, 74, 24);
/* oklch */ color: oklch(36.2% 0.097 144.1);
Tailwind
colors: {
  custom: {
    50: '#5a7d57',
    500: '#154a18',
    950: '#000000',
  },
}
SCSS
$custom: #154a18;
$custom-light: #5a7d57;
$custom-dark: #000000;
JSON
{
  "hex": "#154a18",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 123.396,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36172,
    "c": 0.0972,
    "h": 144.1
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#154A18
secondary
#82397E
accent
#49D7DF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #154A18

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

Preview Lab → · Contrast checker → · Palette generator →

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