#0D420F#0D420F

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

Color values

HEX#0D420F
RGBrgb(13, 66, 15)
HSLhsl(122, 67%, 15%)
HSVhsv(122, 80%, 26%)
CMYKcmyk(80.3%, 0%, 77.3%, 74.1%)
CIE-LABlab(23.72, -28.73, 25.11)
CIE-LCHlch(23.72, 38.16, 138.84°)
OKLaboklab(33.3% -0.0779 0.0577)
OKLCHoklch(33.3% 0.097 143.5)
XYZxyz(2.2003, 4.0162, 1.1111)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D420F #420D40
analogous
#25420D #0D420F #0D4229
triadic
#0D420F #0F0D42 #420F0D
tetradic
#0D420F #0D2542 #420D40 #42290D
square
#0D420F #0D2542 #420D40 #42290D
split-complementary
#0D420F #290D42 #420D25
monochromatic
#051A06 #051A06 #0D420F #17751B #21A826

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D420F#FFFFFF#000000##FFFFFF
##0D420F1.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)
#443B08
Deuteranopia (green-blind)
#3D3714
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d420f;
/* rgb */ color: rgb(13, 66, 15);
/* oklch */ color: oklch(33.3% 0.097 143.5);
Tailwind
colors: {
  custom: {
    50: '#567750',
    500: '#0d420f',
    950: '#000000',
  },
}
SCSS
$custom: #0d420f;
$custom-light: #567750;
$custom-dark: #000000;
JSON
{
  "hex": "#0d420f",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 122.264,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33298,
    "c": 0.0969,
    "h": 143.5
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#0D420F
secondary
#7E2D7A
accent
#3EE3EA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0D420F

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

Preview Lab → · Contrast checker → · Palette generator →

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