#15420C#15420C

#15420C is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.096 H 140.7°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#15420C
RGBrgb(21, 66, 12)
HSLhsl(110, 69%, 15%)
HSVhsv(110, 82%, 26%)
CMYKcmyk(68.2%, 0%, 81.8%, 74.1%)
CIE-LABlab(23.94, -27.04, 26.80)
CIE-LCHlch(23.94, 38.07, 135.26°)
OKLaboklab(33.54% -0.074 0.0607)
OKLCHoklch(33.54% 0.096 140.7)
XYZxyz(2.3237, 4.0822, 1.0132)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15420C #390C42
analogous
#30420C #15420C #0C421E
triadic
#15420C #0C1542 #420C15
tetradic
#15420C #0C3042 #390C42 #421E0C
square
#15420C #0C3042 #390C42 #421E0C
split-complementary
#15420C #1E0C42 #420C30
monochromatic
#081A05 #081A05 #15420C #257615 #36AA1F

Accessibility & contrast

On white

11.56
#15420C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15420C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15420C#FFFFFF#000000##FFFFFF
##15420C1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B04
Deuteranopia (green-blind)
#3E3811
Tritanopia (blue-blind)
#0E4037
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #15420c;
/* rgb */ color: rgb(21, 66, 12);
/* oklch */ color: oklch(33.5% 0.096 140.7);
Tailwind
colors: {
  custom: {
    50: '#59774f',
    500: '#15420c',
    950: '#000000',
  },
}
SCSS
$custom: #15420c;
$custom-light: #59774f;
$custom-dark: #000000;
JSON
{
  "hex": "#15420c",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 110,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33538,
    "c": 0.09572,
    "h": 140.7
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#15420C
secondary
#702C7E
accent
#3CECCF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #15420C

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

Preview Lab → · Contrast checker → · Palette generator →

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