#406013#406013

#406013 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.8% C 0.109 H 130.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#406013
RGBrgb(64, 96, 19)
HSLhsl(85, 67%, 23%)
HSVhsv(85, 80%, 38%)
CMYKcmyk(33.3%, 0%, 80.2%, 62.4%)
CIE-LABlab(36.93, -24.59, 37.53)
CIE-LCHlch(36.93, 44.87, 123.24°)
OKLaboklab(44.8% -0.07 0.0835)
OKLCHoklch(44.8% 0.109 130)
XYZxyz(6.4147, 9.5025, 2.1122)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406013 #331360
analogous
#605A13 #406013 #196013
triadic
#406013 #134060 #601340
tetradic
#406013 #13605A #331360 #601319
square
#406013 #13605A #331360 #601319
split-complementary
#406013 #131960 #5A1360
monochromatic
#111A05 #1E2D09 #406013 #62931D #84C627

Accessibility & contrast

On white

7.24
#406013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#406013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406013
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406013#FFFFFF#000000##FFFFFF
##4060131.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655803
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#425C51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #406013;
/* rgb */ color: rgb(64, 96, 19);
/* oklch */ color: oklch(44.8% 0.109 130.0);
Tailwind
colors: {
  custom: {
    50: '#788d57',
    500: '#406013',
    950: '#000000',
  },
}
SCSS
$custom: #406013;
$custom-light: #788d57;
$custom-dark: #000000;
JSON
{
  "hex": "#406013",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 84.935,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44804,
    "c": 0.10899,
    "h": 130
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#406013
secondary
#5F3798
accent
#3EEA85
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406013

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

Preview Lab → · Contrast checker → · Palette generator →

#406013 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva