#405B16#405B16

#405B16 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.5% C 0.100 H 128.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#405B16
RGBrgb(64, 91, 22)
HSLhsl(83, 61%, 22%)
HSVhsv(83, 76%, 36%)
CMYKcmyk(29.7%, 0%, 75.8%, 64.3%)
CIE-LABlab(35.26, -21.87, 34.67)
CIE-LCHlch(35.26, 40.99, 122.24°)
OKLaboklab(43.45% -0.0623 0.0781)
OKLCHoklch(43.45% 0.1 128.6)
XYZxyz(6.0002, 8.6299, 2.1085)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B16 #31165B
analogous
#5B5416 #405B16 #1E5B16
triadic
#405B16 #16405B #5B1640
tetradic
#405B16 #165B54 #31165B #5B161E
square
#405B16 #165B54 #31165B #5B161E
split-complementary
#405B16 #161E5B #54165B
monochromatic
#111906 #1D2A0A #405B16 #638C22 #85BE2E

Accessibility & contrast

On white

7.70
#405B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#405B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B16
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B16#FFFFFF#000000##FFFFFF
##405B161.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540B
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#42574D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405b16;
/* rgb */ color: rgb(64, 91, 22);
/* oklch */ color: oklch(43.5% 0.100 128.6);
Tailwind
colors: {
  custom: {
    50: '#778958',
    500: '#405b16',
    950: '#000000',
  },
}
SCSS
$custom: #405b16;
$custom-light: #778958;
$custom-dark: #000000;
JSON
{
  "hex": "#405b16",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 83.478,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.09989,
    "h": 128.6
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#405B16
secondary
#5D3B92
accent
#44E482
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405B16

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

Preview Lab → · Contrast checker → · Palette generator →

#405B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva