#405510#405510

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

Color values

HEX#405510
RGBrgb(64, 85, 16)
HSLhsl(78, 68%, 20%)
HSVhsv(78, 81%, 33%)
CMYKcmyk(24.7%, 0%, 81.2%, 66.7%)
CIE-LABlab(33.19, -19.13, 35.07)
CIE-LCHlch(33.19, 39.95, 118.62°)
OKLaboklab(41.75% -0.0554 0.0778)
OKLCHoklch(41.75% 0.096 125.5)
XYZxyz(5.4564, 7.6243, 1.6743)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405510 #251055
analogous
#554810 #405510 #1D5510
triadic
#405510 #104055 #551040
tetradic
#405510 #105548 #251055 #55101D
square
#405510 #105548 #251055 #55101D
split-complementary
#405510 #101D55 #481055
monochromatic
#131A05 #192106 #405510 #67891A #8EBC23

Accessibility & contrast

On white

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

On black

2.52
#405510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##405510#FFFFFF#000000##FFFFFF
##4055101.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405510;
/* rgb */ color: rgb(64, 85, 16);
/* oklch */ color: oklch(41.8% 0.096 125.5);
Tailwind
colors: {
  custom: {
    50: '#778554',
    500: '#405510',
    950: '#000000',
  },
}
SCSS
$custom: #405510;
$custom-light: #778554;
$custom-dark: #000000;
JSON
{
  "hex": "#405510",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 78.261,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41754,
    "c": 0.09555,
    "h": 125.5
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#405510
secondary
#4E328F
accent
#3DEB72
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405510

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

Preview Lab → · Contrast checker → · Palette generator →

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