#405616#405616

#405616 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.1% C 0.093 H 126.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#405616
RGBrgb(64, 86, 22)
HSLhsl(81, 59%, 21%)
HSVhsv(81, 74%, 34%)
CMYKcmyk(25.6%, 0%, 74.4%, 66.3%)
CIE-LABlab(33.57, -19.25, 32.95)
CIE-LCHlch(33.57, 38.17, 120.30°)
OKLaboklab(42.08% -0.0552 0.0744)
OKLCHoklch(42.08% 0.093 126.6)
XYZxyz(5.5870, 7.8034, 1.9708)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405616 #2C1656
analogous
#564C16 #405616 #205616
triadic
#405616 #164056 #561640
tetradic
#405616 #16564C #2C1656 #561620
square
#405616 #16564C #2C1656 #561620
split-complementary
#405616 #162056 #4C1656
monochromatic
#121806 #1C250A #405616 #648722 #89B72F

Accessibility & contrast

On white

8.20
#405616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405616
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405616#FFFFFF#000000##FFFFFF
##4056161.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405616;
/* rgb */ color: rgb(64, 86, 22);
/* oklch */ color: oklch(42.1% 0.093 126.6);
Tailwind
colors: {
  custom: {
    50: '#778557',
    500: '#405616',
    950: '#000000',
  },
}
SCSS
$custom: #405616;
$custom-light: #778557;
$custom-dark: #000000;
JSON
{
  "hex": "#405616",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 22
  },
  "hsl": {
    "h": 80.625,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42078,
    "c": 0.09267,
    "h": 126.6
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#405616
secondary
#573A8D
accent
#45E27B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405616

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

Preview Lab → · Contrast checker → · Palette generator →

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