#405C16#405C16

#405C16 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.7% C 0.101 H 129.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#405C16
RGBrgb(64, 92, 22)
HSLhsl(84, 61%, 22%)
HSVhsv(84, 76%, 36%)
CMYKcmyk(30.4%, 0%, 76.1%, 63.9%)
CIE-LABlab(35.60, -22.38, 35.02)
CIE-LCHlch(35.60, 41.56, 122.58°)
OKLaboklab(43.73% -0.0637 0.0788)
OKLCHoklch(43.73% 0.101 129)
XYZxyz(6.0863, 8.8021, 2.1372)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C16 #32165C
analogous
#5C5516 #405C16 #1D5C16
triadic
#405C16 #16405C #5C1640
tetradic
#405C16 #165C55 #32165C #5C161D
square
#405C16 #165C55 #32165C #5C161D
split-complementary
#405C16 #161D5C #55165C
monochromatic
#111906 #1E2B0A #405C16 #628D22 #85BF2E

Accessibility & contrast

On white

7.61
#405C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#405C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C16
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C16#FFFFFF#000000##FFFFFF
##405C161.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550A
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#42584E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c16;
/* rgb */ color: rgb(64, 92, 22);
/* oklch */ color: oklch(43.7% 0.101 129.0);
Tailwind
colors: {
  custom: {
    50: '#788a58',
    500: '#405c16',
    950: '#000000',
  },
}
SCSS
$custom: #405c16;
$custom-light: #788a58;
$custom-dark: #000000;
JSON
{
  "hex": "#405c16",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 84,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43725,
    "c": 0.10133,
    "h": 129
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#405C16
secondary
#5E3B93
accent
#43E584
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405C16

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

Preview Lab → · Contrast checker → · Palette generator →

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