#0D420E#0D420E

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

Color values

HEX#0D420E
RGBrgb(13, 66, 14)
HSLhsl(121, 67%, 15%)
HSVhsv(121, 80%, 26%)
CMYKcmyk(80.3%, 0%, 78.8%, 74.1%)
CIE-LABlab(23.72, -28.84, 25.58)
CIE-LCHlch(23.72, 38.55, 138.43°)
OKLaboklab(33.29% -0.0782 0.0585)
OKLCHoklch(33.29% 0.098 143.2)
XYZxyz(2.1933, 4.0135, 1.0745)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D420E #420D41
analogous
#26420D #0D420E #0D4228
triadic
#0D420E #0E0D42 #420E0D
tetradic
#0D420E #0D2642 #420D41 #42280D
square
#0D420E #0D2642 #420D41 #42280D
split-complementary
#0D420E #280D42 #420D26
monochromatic
#051A05 #051A05 #0D420E #177519 #21A824

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D420E#FFFFFF#000000##FFFFFF
##0D420E1.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)
#443B07
Deuteranopia (green-blind)
#3D3713
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d420e;
/* rgb */ color: rgb(13, 66, 14);
/* oklch */ color: oklch(33.3% 0.098 143.2);
Tailwind
colors: {
  custom: {
    50: '#567750',
    500: '#0d420e',
    950: '#000000',
  },
}
SCSS
$custom: #0d420e;
$custom-light: #567750;
$custom-dark: #000000;
JSON
{
  "hex": "#0d420e",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 121.132,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.09769,
    "h": 143.2
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#0D420E
secondary
#7E2D7C
accent
#3EE7EA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0D420E

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

Preview Lab → · Contrast checker → · Palette generator →

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