#405219#405219

#405219 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.0% C 0.084 H 124.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#405219
RGBrgb(64, 82, 25)
HSLhsl(79, 53%, 21%)
HSVhsv(79, 70%, 32%)
CMYKcmyk(22%, 0%, 69.5%, 67.8%)
CIE-LABlab(32.25, -16.85, 30.16)
CIE-LCHlch(32.25, 34.55, 119.19°)
OKLaboklab(41.02% -0.0482 0.0691)
OKLCHoklch(41.02% 0.084 124.9)
XYZxyz(5.3071, 7.1947, 2.0286)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405219 #2B1952
analogous
#524719 #405219 #235219
triadic
#405219 #194052 #521940
tetradic
#405219 #195247 #2B1952 #521923
square
#405219 #195247 #2B1952 #521923
split-complementary
#405219 #192352 #471952
monochromatic
#121707 #1B230B #405219 #658127 #89B036

Accessibility & contrast

On white

8.61
#405219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#405219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405219
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405219#FFFFFF#000000##FFFFFF
##4052191.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C12
Deuteranopia (green-blind)
#544C1D
Tritanopia (blue-blind)
#434E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405219;
/* rgb */ color: rgb(64, 82, 25);
/* oklch */ color: oklch(41.0% 0.084 124.9);
Tailwind
colors: {
  custom: {
    50: '#778259',
    500: '#405219',
    950: '#000000',
  },
}
SCSS
$custom: #405219;
$custom-light: #778259;
$custom-dark: #000000;
JSON
{
  "hex": "#405219",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 78.947,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.08424,
    "h": 124.9
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#405219
secondary
#563E88
accent
#4BDD79
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405219

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

Preview Lab → · Contrast checker → · Palette generator →

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