#405416#405416

#405416 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.5% C 0.090 H 125.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#405416
RGBrgb(64, 84, 22)
HSLhsl(79, 58%, 21%)
HSVhsv(79, 74%, 33%)
CMYKcmyk(23.8%, 0%, 73.8%, 67.1%)
CIE-LABlab(32.89, -18.19, 32.26)
CIE-LCHlch(32.89, 37.03, 119.41°)
OKLaboklab(41.53% -0.0522 0.073)
OKLCHoklch(41.53% 0.09 125.6)
XYZxyz(5.4295, 7.4885, 1.9183)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405416 #2A1654
analogous
#544916 #405416 #215416
triadic
#405416 #164054 #541640
tetradic
#405416 #165449 #2A1654 #541621
square
#405416 #165449 #2A1654 #541621
split-complementary
#405416 #162154 #491654
monochromatic
#121806 #1B2409 #405416 #658423 #8AB52F

Accessibility & contrast

On white

8.41
#405416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#405416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405416
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405416#FFFFFF#000000##FFFFFF
##4054161.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0D
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#435048
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #405416;
/* rgb */ color: rgb(64, 84, 22);
/* oklch */ color: oklch(41.5% 0.090 125.6);
Tailwind
colors: {
  custom: {
    50: '#778457',
    500: '#405416',
    950: '#000000',
  },
}
SCSS
$custom: #405416;
$custom-light: #778457;
$custom-dark: #000000;
JSON
{
  "hex": "#405416",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 22
  },
  "hsl": {
    "h": 79.355,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4153,
    "c": 0.08976,
    "h": 125.6
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#405416
secondary
#553A8B
accent
#46E278
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405416

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

Preview Lab → · Contrast checker → · Palette generator →

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