#405611#405611

#405611 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.0% C 0.096 H 126.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#405611
RGBrgb(64, 86, 17)
HSLhsl(79, 67%, 20%)
HSVhsv(79, 80%, 34%)
CMYKcmyk(25.6%, 0%, 80.2%, 66.3%)
CIE-LABlab(33.53, -19.60, 35.02)
CIE-LCHlch(33.53, 40.13, 119.24°)
OKLaboklab(42.04% -0.0566 0.0779)
OKLCHoklch(42.04% 0.096 126)
XYZxyz(5.5434, 7.7860, 1.7410)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405611 #271156
analogous
#564911 #405611 #1E5611
triadic
#405611 #114056 #561140
tetradic
#405611 #115649 #271156 #56111E
square
#405611 #115649 #271156 #56111E
split-complementary
#405611 #111E56 #491156
monochromatic
#131A05 #1A2307 #405611 #66891B #8CBC25

Accessibility & contrast

On white

8.21
#405611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#405611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405611
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405611#FFFFFF#000000##FFFFFF
##4056111.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5004
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#435249
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #405611;
/* rgb */ color: rgb(64, 86, 17);
/* oklch */ color: oklch(42.0% 0.096 126.0);
Tailwind
colors: {
  custom: {
    50: '#778555',
    500: '#405611',
    950: '#000000',
  },
}
SCSS
$custom: #405611;
$custom-light: #778555;
$custom-dark: #000000;
JSON
{
  "hex": "#405611",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 79.13,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.09629,
    "h": 126
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#405611
secondary
#51348F
accent
#3EEA75
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405611

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

Preview Lab → · Contrast checker → · Palette generator →

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