#405716#405716

#405716 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.094 H 127.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#405716
RGBrgb(64, 87, 22)
HSLhsl(81, 60%, 21%)
HSVhsv(81, 75%, 34%)
CMYKcmyk(26.4%, 0%, 74.7%, 65.9%)
CIE-LABlab(33.91, -19.78, 33.30)
CIE-LCHlch(33.91, 38.73, 120.72°)
OKLaboklab(42.35% -0.0566 0.0752)
OKLCHoklch(42.35% 0.094 127)
XYZxyz(5.6674, 7.9642, 1.9976)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405716 #2D1657
analogous
#574E16 #405716 #205716
triadic
#405716 #164057 #571640
tetradic
#405716 #16574E #2D1657 #571620
square
#405716 #16574E #2D1657 #571620
split-complementary
#405716 #162057 #4E1657
monochromatic
#121806 #1C260A #405716 #648822 #88B92F

Accessibility & contrast

On white

8.10
#405716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#405716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405716
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405716#FFFFFF#000000##FFFFFF
##4057161.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#43534A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405716;
/* rgb */ color: rgb(64, 87, 22);
/* oklch */ color: oklch(42.4% 0.094 127.0);
Tailwind
colors: {
  custom: {
    50: '#778658',
    500: '#405716',
    950: '#000000',
  },
}
SCSS
$custom: #405716;
$custom-light: #778658;
$custom-dark: #000000;
JSON
{
  "hex": "#405716",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 81.231,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.09412,
    "h": 127
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#405716
secondary
#583A8E
accent
#45E37D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405716

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

Preview Lab → · Contrast checker → · Palette generator →

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