#405911#405911

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

Color values

HEX#405911
RGBrgb(64, 89, 17)
HSLhsl(81, 68%, 21%)
HSVhsv(81, 81%, 35%)
CMYKcmyk(28.1%, 0%, 80.9%, 65.1%)
CIE-LABlab(34.55, -21.17, 35.99)
CIE-LCHlch(34.55, 41.76, 120.47°)
OKLaboklab(42.86% -0.0609 0.0799)
OKLCHoklch(42.86% 0.1 127.3)
XYZxyz(5.7879, 8.2751, 1.8225)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405911 #2A1159
analogous
#594E11 #405911 #1C5911
triadic
#405911 #114059 #591140
tetradic
#405911 #11594E #2A1159 #59111C
square
#405911 #11594E #2A1159 #59111C
split-complementary
#405911 #111C59 #4E1159
monochromatic
#121A05 #1B2607 #405911 #658C1B #8AC025

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405911#FFFFFF#000000##FFFFFF
##4059111.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)
#5E5203
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#43554B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #405911;
/* rgb */ color: rgb(64, 89, 17);
/* oklch */ color: oklch(42.9% 0.100 127.3);
Tailwind
colors: {
  custom: {
    50: '#788855',
    500: '#405911',
    950: '#000000',
  },
}
SCSS
$custom: #405911;
$custom-light: #788855;
$custom-dark: #000000;
JSON
{
  "hex": "#405911",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 80.833,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4286,
    "c": 0.10049,
    "h": 127.3
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#405911
secondary
#553492
accent
#3DEB79
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405911

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

Preview Lab → · Contrast checker → · Palette generator →

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