#405813#405813

#405813 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.6% C 0.098 H 127.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#405813
RGBrgb(64, 88, 19)
HSLhsl(81, 64%, 21%)
HSVhsv(81, 78%, 35%)
CMYKcmyk(27.3%, 0%, 78.4%, 65.5%)
CIE-LABlab(34.22, -20.52, 34.89)
CIE-LCHlch(34.22, 40.48, 120.47°)
OKLaboklab(42.6% -0.0589 0.078)
OKLCHoklch(42.6% 0.098 127.1)
XYZxyz(5.7216, 8.1163, 1.8811)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405813 #2B1358
analogous
#584D13 #405813 #1D5813
triadic
#405813 #134058 #581340
tetradic
#405813 #13584D #2B1358 #58131D
square
#405813 #13584D #2B1358 #58131D
split-complementary
#405813 #131D58 #4D1358
monochromatic
#121905 #1B2608 #405813 #658A1E #89BD29

Accessibility & contrast

On white

8.01
#405813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#405813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405813
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405813#FFFFFF#000000##FFFFFF
##4058131.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5106
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#43544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405813;
/* rgb */ color: rgb(64, 88, 19);
/* oklch */ color: oklch(42.6% 0.098 127.1);
Tailwind
colors: {
  custom: {
    50: '#778756',
    500: '#405813',
    950: '#000000',
  },
}
SCSS
$custom: #405813;
$custom-light: #778756;
$custom-dark: #000000;
JSON
{
  "hex": "#405813",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 80.87,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42601,
    "c": 0.09776,
    "h": 127.1
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#405813
secondary
#563790
accent
#40E77A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405813

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

Preview Lab → · Contrast checker → · Palette generator →

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