#405913#405913

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

Color values

HEX#405913
RGBrgb(64, 89, 19)
HSLhsl(81, 65%, 21%)
HSVhsv(81, 79%, 35%)
CMYKcmyk(28.1%, 0%, 78.7%, 65.1%)
CIE-LABlab(34.56, -21.04, 35.22)
CIE-LCHlch(34.56, 41.03, 120.86°)
OKLaboklab(42.88% -0.0604 0.0787)
OKLCHoklch(42.88% 0.099 127.5)
XYZxyz(5.8043, 8.2816, 1.9087)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405913 #2C1359
analogous
#594F13 #405913 #1D5913
triadic
#405913 #134059 #591340
tetradic
#405913 #13594F #2C1359 #59131D
square
#405913 #13594F #2C1359 #59131D
split-complementary
#405913 #131D59 #4F1359
monochromatic
#121905 #1C2708 #405913 #648B1E #89BE29

Accessibility & contrast

On white

7.91
#405913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405913
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405913#FFFFFF#000000##FFFFFF
##4059131.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5206
Deuteranopia (green-blind)
#5A5119
Tritanopia (blue-blind)
#43554B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #405913;
/* rgb */ color: rgb(64, 89, 19);
/* oklch */ color: oklch(42.9% 0.099 127.5);
Tailwind
colors: {
  custom: {
    50: '#788856',
    500: '#405913',
    950: '#000000',
  },
}
SCSS
$custom: #405913;
$custom-light: #788856;
$custom-dark: #000000;
JSON
{
  "hex": "#405913",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 81.429,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42875,
    "c": 0.09917,
    "h": 127.5
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#405913
secondary
#573791
accent
#40E87C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405913

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

Preview Lab → · Contrast checker → · Palette generator →

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