#06420D#06420D

#06420D is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.1% C 0.101 H 144.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#06420D
RGBrgb(6, 66, 13)
HSLhsl(127, 83%, 14%)
HSVhsv(127, 91%, 26%)
CMYKcmyk(90.9%, 0%, 80.3%, 74.1%)
CIE-LABlab(23.55, -30.27, 25.82)
CIE-LCHlch(23.55, 39.79, 139.54°)
OKLaboklab(33.1% -0.0818 0.0589)
OKLCHoklch(33.1% 0.101 144.2)
XYZxyz(2.0958, 3.9639, 1.0354)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06420D #42063B
analogous
#1D4206 #06420D #06422B
triadic
#06420D #0D0642 #420D06
tetradic
#06420D #061D42 #42063B #422B06
square
#06420D #061D42 #42063B #422B06
split-complementary
#06420D #2B0642 #42061D
monochromatic
#031C06 #031C06 #06420D #0B7A18 #10B223

Accessibility & contrast

On white

11.71
#06420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#06420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06420D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06420D#FFFFFF#000000##FFFFFF
##06420D1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B05
Deuteranopia (green-blind)
#3D3612
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #06420d;
/* rgb */ color: rgb(6, 66, 13);
/* oklch */ color: oklch(33.1% 0.101 144.2);
Tailwind
colors: {
  custom: {
    50: '#53774f',
    500: '#06420d',
    950: '#000000',
  },
}
SCSS
$custom: #06420d;
$custom-light: #53774f;
$custom-dark: #000000;
JSON
{
  "hex": "#06420d",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 127,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33104,
    "c": 0.10079,
    "h": 144.2
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#06420D
secondary
#822277
accent
#2EE2FA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #06420D

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

Preview Lab → · Contrast checker → · Palette generator →

#06420D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva