#405819#405819

#405819 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.7% C 0.093 H 127.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#405819
RGBrgb(64, 88, 25)
HSLhsl(83, 56%, 22%)
HSVhsv(83, 72%, 35%)
CMYKcmyk(27.3%, 0%, 71.6%, 65.5%)
CIE-LABlab(34.27, -20.07, 32.32)
CIE-LCHlch(34.27, 38.04, 121.84°)
OKLaboklab(42.66% -0.0571 0.0736)
OKLCHoklch(42.66% 0.093 127.8)
XYZxyz(5.7795, 8.1395, 2.1861)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405819 #311958
analogous
#585119 #405819 #215819
triadic
#405819 #194058 #581940
tetradic
#405819 #195851 #311958 #581921
square
#405819 #195851 #311958 #581921
split-complementary
#405819 #192158 #511958
monochromatic
#111807 #1D280B #405819 #638827 #85B734

Accessibility & contrast

On white

7.99
#405819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#405819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405819
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405819#FFFFFF#000000##FFFFFF
##4058191.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5210
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#42544B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #405819;
/* rgb */ color: rgb(64, 88, 25);
/* oklch */ color: oklch(42.7% 0.093 127.8);
Tailwind
colors: {
  custom: {
    50: '#778759',
    500: '#405819',
    950: '#000000',
  },
}
SCSS
$custom: #405819;
$custom-light: #778759;
$custom-dark: #000000;
JSON
{
  "hex": "#405819",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 82.857,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.09316,
    "h": 127.8
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#405819
secondary
#5D3E8E
accent
#49DF82
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #405819

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

Preview Lab → · Contrast checker → · Palette generator →

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