#06421B#06421B

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

Color values

HEX#06421B
RGBrgb(6, 66, 27)
HSLhsl(141, 83%, 14%)
HSVhsv(141, 91%, 26%)
CMYKcmyk(90.9%, 0%, 59.1%, 74.1%)
CIE-LABlab(23.72, -28.25, 18.55)
CIE-LCHlch(23.72, 33.79, 146.72°)
OKLaboklab(33.3% -0.0758 0.0447)
OKLCHoklch(33.3% 0.088 149.5)
XYZxyz(2.2210, 4.0140, 1.6944)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06421B #42062D
analogous
#0F4206 #06421B #064239
triadic
#06421B #1B0642 #421B06
tetradic
#06421B #060F42 #42062D #423906
square
#06421B #060F42 #42062D #423906
split-complementary
#06421B #390642 #42060F
monochromatic
#031C0B #031C0B #06421B #0B7A32 #10B249

Accessibility & contrast

On white

11.65
#06421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#06421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06421B
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06421B#FFFFFF#000000##FFFFFF
##06421B1.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)
#433B18
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #06421b;
/* rgb */ color: rgb(6, 66, 27);
/* oklch */ color: oklch(33.3% 0.088 149.5);
Tailwind
colors: {
  custom: {
    50: '#537758',
    500: '#06421b',
    950: '#000000',
  },
}
SCSS
$custom: #06421b;
$custom-light: #537758;
$custom-dark: #000000;
JSON
{
  "hex": "#06421b",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 141,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.08804,
    "h": 149.5
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#06421B
secondary
#822260
accent
#2EB2FA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #06421B

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

Preview Lab → · Contrast checker → · Palette generator →

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