#06401B#06401B

#06401B is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.085 H 149.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#06401B
RGBrgb(6, 64, 27)
HSLhsl(142, 83%, 14%)
HSVhsv(142, 91%, 25%)
CMYKcmyk(90.6%, 0%, 57.8%, 74.9%)
CIE-LABlab(22.95, -27.43, 17.59)
CIE-LCHlch(22.95, 32.59, 147.33°)
OKLaboklab(32.66% -0.0736 0.0426)
OKLCHoklch(32.66% 0.085 149.9)
XYZxyz(2.1061, 3.7844, 1.6562)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06401B #40062B
analogous
#0E4006 #06401B #064038
triadic
#06401B #1B0640 #401B06
tetradic
#06401B #060E40 #40062B #403806
square
#06401B #060E40 #40062B #403806
split-complementary
#06401B #380640 #40060E
monochromatic
#031C0C #031C0C #06401B #0B7833 #10B04A

Accessibility & contrast

On white

11.95
#06401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#06401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06401B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06401B#FFFFFF#000000##FFFFFF
##06401B1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#3A351E
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #06401b;
/* rgb */ color: rgb(6, 64, 27);
/* oklch */ color: oklch(32.7% 0.085 149.9);
Tailwind
colors: {
  custom: {
    50: '#527558',
    500: '#06401b',
    950: '#000000',
  },
}
SCSS
$custom: #06401b;
$custom-light: #527558;
$custom-dark: #000000;
JSON
{
  "hex": "#06401b",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 141.724,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32655,
    "c": 0.08506,
    "h": 149.9
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#06401B
secondary
#80225E
accent
#2FB0F9
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #06401B

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

Preview Lab → · Contrast checker → · Palette generator →

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