#0D420D#0D420D

#0D420D is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.098 H 143.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#0D420D
RGBrgb(13, 66, 13)
HSLhsl(120, 67%, 15%)
HSVhsv(120, 80%, 26%)
CMYKcmyk(80.3%, 0%, 80.3%, 74.1%)
CIE-LABlab(23.71, -28.94, 26.03)
CIE-LCHlch(23.71, 38.93, 138.03°)
OKLaboklab(33.28% -0.0786 0.0593)
OKLCHoklch(33.28% 0.098 143)
XYZxyz(2.1867, 4.0108, 1.0396)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D420D #420D42
analogous
#27420D #0D420D #0D4227
triadic
#0D420D #0D0D42 #420D0D
tetradic
#0D420D #0D2742 #420D42 #42270D
square
#0D420D #0D2742 #420D42 #42270D
split-complementary
#0D420D #270D42 #420D27
monochromatic
#051A05 #051A05 #0D420D #177517 #21A821

Accessibility & contrast

On white

11.65
#0D420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0D420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D420D
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D420D#FFFFFF#000000##FFFFFF
##0D420D1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B05
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#014038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d420d;
/* rgb */ color: rgb(13, 66, 13);
/* oklch */ color: oklch(33.3% 0.098 143.0);
Tailwind
colors: {
  custom: {
    50: '#56774f',
    500: '#0d420d',
    950: '#000000',
  },
}
SCSS
$custom: #0d420d;
$custom-light: #56774f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d420d",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 120,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33278,
    "c": 0.09844,
    "h": 143
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#0D420D
secondary
#7E2D7E
accent
#3EEAEA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0D420D

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

Preview Lab → · Contrast checker → · Palette generator →

#0D420D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva