#154C0D#154C0D

#154C0D is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.109 H 141.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#154C0D
RGBrgb(21, 76, 13)
HSLhsl(112, 71%, 17%)
HSVhsv(112, 83%, 30%)
CMYKcmyk(72.4%, 0%, 82.9%, 70.2%)
CIE-LABlab(27.73, -31.07, 30.18)
CIE-LCHlch(27.73, 43.31, 135.83°)
OKLaboklab(36.68% -0.0848 0.0679)
OKLCHoklch(36.68% 0.109 141.3)
XYZxyz(2.9662, 5.3571, 1.2584)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C0D #440D4C
analogous
#354C0D #154C0D #0D4C25
triadic
#154C0D #0D154C #4C0D15
tetradic
#154C0D #0D354C #440D4C #4C250D
square
#154C0D #0D354C #440D4C #4C250D
split-complementary
#154C0D #250D4C #4C0D35
monochromatic
#071A04 #071A04 #154C0D #238016 #32B51F

Accessibility & contrast

On white

10.14
#154C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#154C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C0D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C0D#FFFFFF#000000##FFFFFF
##154C0D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4402
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#0A4940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154c0d;
/* rgb */ color: rgb(21, 76, 13);
/* oklch */ color: oklch(36.7% 0.109 141.3);
Tailwind
colors: {
  custom: {
    50: '#5c7f51',
    500: '#154c0d',
    950: '#000000',
  },
}
SCSS
$custom: #154c0d;
$custom-light: #5c7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#154c0d",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 112.381,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36675,
    "c": 0.10865,
    "h": 141.3
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#154C0D
secondary
#7C2E87
accent
#3AEED7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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