#405011#405011

#405011 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.4% C 0.088 H 122.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#405011
RGBrgb(64, 80, 17)
HSLhsl(75, 65%, 19%)
HSVhsv(75, 79%, 31%)
CMYKcmyk(20%, 0%, 78.8%, 68.6%)
CIE-LABlab(31.50, -16.36, 33.04)
CIE-LCHlch(31.50, 36.87, 116.35°)
OKLaboklab(40.39% -0.0477 0.0737)
OKLCHoklch(40.39% 0.088 122.9)
XYZxyz(5.0843, 6.8678, 1.5880)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405011 #211150
analogous
#504111 #405011 #215011
triadic
#405011 #114050 #501140
tetradic
#405011 #115041 #211150 #501121
square
#405011 #115041 #211150 #501121
split-complementary
#405011 #112150 #411150
monochromatic
#141905 #181E06 #405011 #68821C #91B526

Accessibility & contrast

On white

8.85
#405011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#405011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405011
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405011#FFFFFF#000000##FFFFFF
##4050111.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B06
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#444C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #405011;
/* rgb */ color: rgb(64, 80, 17);
/* oklch */ color: oklch(40.4% 0.088 122.9);
Tailwind
colors: {
  custom: {
    50: '#778154',
    500: '#405011',
    950: '#000000',
  },
}
SCSS
$custom: #405011;
$custom-light: #778154;
$custom-dark: #000000;
JSON
{
  "hex": "#405011",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 75.238,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40394,
    "c": 0.08784,
    "h": 122.9
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#405011
secondary
#493389
accent
#40E86B
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405011

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

Preview Lab → · Contrast checker → · Palette generator →

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