#0D420B#0D420B

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

Color values

HEX#0D420B
RGBrgb(13, 66, 11)
HSLhsl(118, 71%, 15%)
HSVhsv(118, 83%, 26%)
CMYKcmyk(80.3%, 0%, 83.3%, 74.1%)
CIE-LABlab(23.69, -29.14, 26.90)
CIE-LCHlch(23.69, 39.66, 137.29°)
OKLaboklab(33.26% -0.0792 0.0608)
OKLCHoklch(33.26% 0.1 142.5)
XYZxyz(2.1745, 4.0059, 0.9752)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D420B #400B42
analogous
#29420B #0D420B #0B4224
triadic
#0D420B #0B0D42 #420B0D
tetradic
#0D420B #0B2942 #400B42 #42240B
square
#0D420B #0B2942 #400B42 #42240B
split-complementary
#0D420B #240B42 #420B29
monochromatic
#051A04 #051A04 #0D420B #177614 #22AB1C

Accessibility & contrast

On white

11.66
#0D420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D420B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D420B#FFFFFF#000000##FFFFFF
##0D420B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B03
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#014037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d420b;
/* rgb */ color: rgb(13, 66, 11);
/* oklch */ color: oklch(33.3% 0.100 142.5);
Tailwind
colors: {
  custom: {
    50: '#56774e',
    500: '#0d420b',
    950: '#000000',
  },
}
SCSS
$custom: #0d420b;
$custom-light: #56774e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d420b",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 117.818,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33259,
    "c": 0.09987,
    "h": 142.5
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#0D420B
secondary
#7C2A7F
accent
#3AEEE8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0D420B

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

Preview Lab → · Contrast checker → · Palette generator →

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