#0D420C#0D420C

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

Color values

HEX#0D420C
RGBrgb(13, 66, 12)
HSLhsl(119, 69%, 15%)
HSVhsv(119, 82%, 26%)
CMYKcmyk(80.3%, 0%, 81.8%, 74.1%)
CIE-LABlab(23.70, -29.05, 26.47)
CIE-LCHlch(23.70, 39.30, 137.65°)
OKLaboklab(33.27% -0.0789 0.0601)
OKLCHoklch(33.27% 0.099 142.7)
XYZxyz(2.1804, 4.0083, 1.0065)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D420C #410C42
analogous
#28420C #0D420C #0C4226
triadic
#0D420C #0C0D42 #420C0D
tetradic
#0D420C #0C2842 #410C42 #42260C
square
#0D420C #0C2842 #410C42 #42260C
split-complementary
#0D420C #260C42 #420C28
monochromatic
#051A05 #051A05 #0D420C #177615 #21AA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D420C#FFFFFF#000000##FFFFFF
##0D420C1.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)
#443B04
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#014037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d420c;
/* rgb */ color: rgb(13, 66, 12);
/* oklch */ color: oklch(33.3% 0.099 142.7);
Tailwind
colors: {
  custom: {
    50: '#56774f',
    500: '#0d420c',
    950: '#000000',
  },
}
SCSS
$custom: #0d420c;
$custom-light: #56774f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d420c",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 118.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33268,
    "c": 0.09917,
    "h": 142.7
  },
  "luminance": 0.04009
}

Semantic roles & 50–950 ramp

primary
#0D420C
secondary
#7D2C7E
accent
#3CECE9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0D420C

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

Preview Lab → · Contrast checker → · Palette generator →

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