#154A0B#154A0B

#154A0B is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.107 H 140.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#154A0B
RGBrgb(21, 74, 11)
HSLhsl(110, 74%, 17%)
HSVhsv(110, 85%, 29%)
CMYKcmyk(71.6%, 0%, 85.1%, 71%)
CIE-LABlab(26.96, -30.43, 30.21)
CIE-LCHlch(26.96, 42.88, 135.21°)
OKLaboklab(36.04% -0.0832 0.0676)
OKLCHoklch(36.04% 0.107 140.9)
XYZxyz(2.8183, 5.0809, 1.1487)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A0B #400B4A
analogous
#354A0B #154A0B #0B4A21
triadic
#154A0B #0B154A #4A0B15
tetradic
#154A0B #0B354A #400B4A #4A210B
square
#154A0B #0B354A #400B4A #4A210B
split-complementary
#154A0B #210B4A #4A0B35
monochromatic
#081B04 #081B04 #154A0B #247F13 #33B51B

Accessibility & contrast

On white

10.42
#154A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154A0B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A0B#FFFFFF#000000##FFFFFF
##154A0B1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4201
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#0C473E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a0b;
/* rgb */ color: rgb(21, 74, 11);
/* oklch */ color: oklch(36.0% 0.107 140.9);
Tailwind
colors: {
  custom: {
    50: '#5b7d4f',
    500: '#154a0b',
    950: '#000000',
  },
}
SCSS
$custom: #154a0b;
$custom-light: #5b7d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#154a0b",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 110.476,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36037,
    "c": 0.10726,
    "h": 140.9
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#154A0B
secondary
#782B86
accent
#37F1D3
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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