#06401C#06401C

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

Color values

HEX#06401C
RGBrgb(6, 64, 28)
HSLhsl(143, 83%, 14%)
HSVhsv(143, 91%, 25%)
CMYKcmyk(90.6%, 0%, 56.2%, 74.9%)
CIE-LABlab(22.96, -27.24, 17.01)
CIE-LCHlch(22.96, 32.11, 148.01°)
OKLaboklab(32.67% -0.0731 0.0414)
OKLCHoklch(32.67% 0.084 150.5)
XYZxyz(2.1179, 3.7891, 1.7181)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06401C #40062A
analogous
#0D4006 #06401C #064039
triadic
#06401C #1C0640 #401C06
tetradic
#06401C #060D40 #40062A #403906
square
#06401C #060D40 #40062A #403906
split-complementary
#06401C #390640 #40060D
monochromatic
#031C0C #031C0C #06401C #0B7834 #10B04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##06401C#FFFFFF#000000##FFFFFF
##06401C1.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)
#403A19
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #06401c;
/* rgb */ color: rgb(6, 64, 28);
/* oklch */ color: oklch(32.7% 0.084 150.5);
Tailwind
colors: {
  custom: {
    50: '#527559',
    500: '#06401c',
    950: '#000000',
  },
}
SCSS
$custom: #06401c;
$custom-light: #527559;
$custom-dark: #000000;
JSON
{
  "hex": "#06401c",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 142.759,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32674,
    "c": 0.084,
    "h": 150.5
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#06401C
secondary
#80225C
accent
#2FACF9
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #06401C

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

Preview Lab → · Contrast checker → · Palette generator →

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