#405919#405919

#405919 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.9% C 0.095 H 128.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#405919
RGBrgb(64, 89, 25)
HSLhsl(83, 56%, 22%)
HSVhsv(83, 72%, 35%)
CMYKcmyk(28.1%, 0%, 71.9%, 65.1%)
CIE-LABlab(34.61, -20.60, 32.67)
CIE-LCHlch(34.61, 38.62, 122.23°)
OKLaboklab(42.93% -0.0586 0.0743)
OKLCHoklch(42.93% 0.095 128.2)
XYZxyz(5.8622, 8.3048, 2.2136)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405919 #321959
analogous
#595219 #405919 #205919
triadic
#405919 #194059 #591940
tetradic
#405919 #195952 #321959 #591920
square
#405919 #195952 #321959 #591920
split-complementary
#405919 #192059 #521959
monochromatic
#111807 #1E290C #405919 #628926 #85B934

Accessibility & contrast

On white

7.89
#405919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#405919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405919
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405919#FFFFFF#000000##FFFFFF
##4059191.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5210
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#42554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #405919;
/* rgb */ color: rgb(64, 89, 25);
/* oklch */ color: oklch(42.9% 0.095 128.2);
Tailwind
colors: {
  custom: {
    50: '#77885a',
    500: '#405919',
    950: '#000000',
  },
}
SCSS
$custom: #405919;
$custom-light: #77885a;
$custom-dark: #000000;
JSON
{
  "hex": "#405919",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 25
  },
  "hsl": {
    "h": 83.438,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42929,
    "c": 0.09464,
    "h": 128.2
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#405919
secondary
#5E3E8F
accent
#48DF83
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #405919

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

Preview Lab → · Contrast checker → · Palette generator →

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