#06401F#06401F

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

Color values

HEX#06401F
RGBrgb(6, 64, 31)
HSLhsl(146, 83%, 14%)
HSVhsv(146, 91%, 25%)
CMYKcmyk(90.6%, 0%, 51.6%, 74.9%)
CIE-LABlab(23.01, -26.63, 15.24)
CIE-LCHlch(23.01, 30.68, 150.22°)
OKLaboklab(32.73% -0.0715 0.0375)
OKLCHoklch(32.73% 0.081 152.4)
XYZxyz(2.1556, 3.8042, 1.9167)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06401F #400627
analogous
#0A4006 #06401F #06403C
triadic
#06401F #1F0640 #401F06
tetradic
#06401F #060A40 #400627 #403C06
square
#06401F #060A40 #400627 #403C06
split-complementary
#06401F #3C0640 #40060A
monochromatic
#031C0E #031C0E #06401F #0B783A #10B055

Accessibility & contrast

On white

11.93
#06401F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06401F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06401F#FFFFFF#000000##FFFFFF
##06401F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1C
Deuteranopia (green-blind)
#3A3521
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #06401f;
/* rgb */ color: rgb(6, 64, 31);
/* oklch */ color: oklch(32.7% 0.081 152.4);
Tailwind
colors: {
  custom: {
    50: '#52755b',
    500: '#06401f',
    950: '#000000',
  },
}
SCSS
$custom: #06401f;
$custom-light: #52755b;
$custom-dark: #000000;
JSON
{
  "hex": "#06401f",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 145.862,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32733,
    "c": 0.08075,
    "h": 152.4
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#06401F
secondary
#802257
accent
#2FA2F9
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #06401F

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

Preview Lab → · Contrast checker → · Palette generator →

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