#15420F#15420F

#15420F is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.6% C 0.093 H 141.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#15420F
RGBrgb(21, 66, 15)
HSLhsl(113, 63%, 16%)
HSVhsv(113, 77%, 26%)
CMYKcmyk(68.2%, 0%, 77.3%, 74.1%)
CIE-LABlab(23.97, -26.74, 25.44)
CIE-LCHlch(23.97, 36.91, 136.43°)
OKLaboklab(33.57% -0.073 0.0583)
OKLCHoklch(33.57% 0.093 141.4)
XYZxyz(2.3436, 4.0901, 1.1178)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15420F #3C0F42
analogous
#2E420F #15420F #0F4222
triadic
#15420F #0F1542 #420F15
tetradic
#15420F #0F2E42 #3C0F42 #42220F
square
#15420F #0F2E42 #3C0F42 #42220F
split-complementary
#15420F #220F42 #420F2E
monochromatic
#081906 #081906 #15420F #25741A #35A626

Accessibility & contrast

On white

11.55
#15420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#15420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15420F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15420F#FFFFFF#000000##FFFFFF
##15420F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B08
Deuteranopia (green-blind)
#3E3814
Tritanopia (blue-blind)
#0E4038
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #15420f;
/* rgb */ color: rgb(21, 66, 15);
/* oklch */ color: oklch(33.6% 0.093 141.4);
Tailwind
colors: {
  custom: {
    50: '#597750',
    500: '#15420f',
    950: '#000000',
  },
}
SCSS
$custom: #15420f;
$custom-light: #597750;
$custom-dark: #000000;
JSON
{
  "hex": "#15420f",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 112.941,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33567,
    "c": 0.09344,
    "h": 141.4
  },
  "luminance": 0.0409
}

Semantic roles & 50–950 ramp

primary
#15420F
secondary
#74307C
accent
#42E6D3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #15420F

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

Preview Lab → · Contrast checker → · Palette generator →

#15420F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva