#06421C#06421C

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

Color values

HEX#06421C
RGBrgb(6, 66, 28)
HSLhsl(142, 83%, 14%)
HSVhsv(142, 91%, 26%)
CMYKcmyk(90.9%, 0%, 57.6%, 74.1%)
CIE-LABlab(23.73, -28.07, 17.97)
CIE-LCHlch(23.73, 33.33, 147.37°)
OKLaboklab(33.31% -0.0753 0.0435)
OKLCHoklch(33.31% 0.087 150)
XYZxyz(2.2327, 4.0187, 1.7564)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06421C #42062C
analogous
#0E4206 #06421C #06423A
triadic
#06421C #1C0642 #421C06
tetradic
#06421C #060E42 #42062C #423A06
square
#06421C #060E42 #42062C #423A06
split-complementary
#06421C #3A0642 #42060E
monochromatic
#031C0C #031C0C #06421C #0B7A34 #10B24C

Accessibility & contrast

On white

11.64
#06421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06421C
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06421C#FFFFFF#000000##FFFFFF
##06421C1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B19
Deuteranopia (green-blind)
#3C371F
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #06421c;
/* rgb */ color: rgb(6, 66, 28);
/* oklch */ color: oklch(33.3% 0.087 150.0);
Tailwind
colors: {
  custom: {
    50: '#537759',
    500: '#06421c',
    950: '#000000',
  },
}
SCSS
$custom: #06421c;
$custom-light: #537759;
$custom-dark: #000000;
JSON
{
  "hex": "#06421c",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 142,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33313,
    "c": 0.08699,
    "h": 150
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#06421C
secondary
#82225F
accent
#2EAFFA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #06421C

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

Preview Lab → · Contrast checker → · Palette generator →

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