#06421F#06421F

#06421F is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.084 H 151.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#06421F
RGBrgb(6, 66, 31)
HSLhsl(145, 83%, 14%)
HSVhsv(145, 91%, 26%)
CMYKcmyk(90.9%, 0%, 53%, 74.1%)
CIE-LABlab(23.78, -27.48, 16.22)
CIE-LCHlch(23.78, 31.91, 149.45°)
OKLaboklab(33.37% -0.0738 0.0397)
OKLCHoklch(33.37% 0.084 151.7)
XYZxyz(2.2704, 4.0338, 1.9550)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06421F #420629
analogous
#0B4206 #06421F #06423D
triadic
#06421F #1F0642 #421F06
tetradic
#06421F #060B42 #420629 #423D06
square
#06421F #060B42 #420629 #423D06
split-complementary
#06421F #3D0642 #42060B
monochromatic
#031C0D #031C0D #06421F #0B7A39 #10B254

Accessibility & contrast

On white

11.62
#06421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#06421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06421F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06421F#FFFFFF#000000##FFFFFF
##06421F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1C
Deuteranopia (green-blind)
#3B3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #06421f;
/* rgb */ color: rgb(6, 66, 31);
/* oklch */ color: oklch(33.4% 0.084 151.7);
Tailwind
colors: {
  custom: {
    50: '#52775b',
    500: '#06421f',
    950: '#000000',
  },
}
SCSS
$custom: #06421f;
$custom-light: #52775b;
$custom-dark: #000000;
JSON
{
  "hex": "#06421f",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 145,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.08378,
    "h": 151.7
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#06421F
secondary
#82225A
accent
#2EA5FA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #06421F

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

Preview Lab → · Contrast checker → · Palette generator →

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