#405511#405511

#405511 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.8% C 0.095 H 125.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#405511
RGBrgb(64, 85, 17)
HSLhsl(79, 67%, 20%)
HSVhsv(79, 80%, 33%)
CMYKcmyk(24.7%, 0%, 80%, 66.7%)
CIE-LABlab(33.19, -19.07, 34.69)
CIE-LCHlch(33.19, 39.59, 118.80°)
OKLaboklab(41.76% -0.0552 0.0772)
OKLCHoklch(41.76% 0.095 125.6)
XYZxyz(5.4641, 7.6274, 1.7146)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405511 #261155
analogous
#554811 #405511 #1E5511
triadic
#405511 #114055 #551140
tetradic
#405511 #115548 #261155 #55111E
square
#405511 #115548 #261155 #55111E
split-complementary
#405511 #111E55 #481155
monochromatic
#131A05 #1A2207 #405511 #66881B #8DBB25

Accessibility & contrast

On white

8.32
#405511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#405511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405511
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405511#FFFFFF#000000##FFFFFF
##4055111.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#435148
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405511;
/* rgb */ color: rgb(64, 85, 17);
/* oklch */ color: oklch(41.8% 0.095 125.6);
Tailwind
colors: {
  custom: {
    50: '#778555',
    500: '#405511',
    950: '#000000',
  },
}
SCSS
$custom: #405511;
$custom-light: #778555;
$custom-dark: #000000;
JSON
{
  "hex": "#405511",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 78.529,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.09489,
    "h": 125.6
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#405511
secondary
#50348E
accent
#3EEA73
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405511

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

Preview Lab → · Contrast checker → · Palette generator →

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