#06420F#06420F

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

Color values

HEX#06420F
RGBrgb(6, 66, 15)
HSLhsl(129, 83%, 14%)
HSVhsv(129, 91%, 26%)
CMYKcmyk(90.9%, 0%, 77.3%, 74.1%)
CIE-LABlab(23.57, -30.05, 24.90)
CIE-LCHlch(23.57, 39.03, 140.35°)
OKLaboklab(33.13% -0.0811 0.0573)
OKLCHoklch(33.13% 0.099 144.8)
XYZxyz(2.1094, 3.9694, 1.1068)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06420F #420639
analogous
#1B4206 #06420F #06422D
triadic
#06420F #0F0642 #420F06
tetradic
#06420F #061B42 #420639 #422D06
square
#06420F #061B42 #420639 #422D06
split-complementary
#06420F #2D0642 #42061B
monochromatic
#031C06 #031C06 #06420F #0B7A1C #10B229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##06420F#FFFFFF#000000##FFFFFF
##06420F1.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)
#433B08
Deuteranopia (green-blind)
#3D3614
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #06420f;
/* rgb */ color: rgb(6, 66, 15);
/* oklch */ color: oklch(33.1% 0.099 144.8);
Tailwind
colors: {
  custom: {
    50: '#537750',
    500: '#06420f',
    950: '#000000',
  },
}
SCSS
$custom: #06420f;
$custom-light: #537750;
$custom-dark: #000000;
JSON
{
  "hex": "#06420f",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 129,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33125,
    "c": 0.09925,
    "h": 144.8
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#06420F
secondary
#822273
accent
#2EDBFA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #06420F

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

Preview Lab → · Contrast checker → · Palette generator →

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