#405711#405711

#405711 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.3% C 0.098 H 126.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#405711
RGBrgb(64, 87, 17)
HSLhsl(80, 67%, 20%)
HSVhsv(80, 80%, 34%)
CMYKcmyk(26.4%, 0%, 80.5%, 65.9%)
CIE-LABlab(33.87, -20.13, 35.34)
CIE-LCHlch(33.87, 40.67, 119.66°)
OKLaboklab(42.31% -0.0581 0.0786)
OKLCHoklch(42.31% 0.098 126.5)
XYZxyz(5.6238, 7.9468, 1.7678)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405711 #281157
analogous
#574B11 #405711 #1D5711
triadic
#405711 #114057 #571140
tetradic
#405711 #11574B #281157 #57111D
square
#405711 #11574B #281157 #57111D
split-complementary
#405711 #111D57 #4B1157
monochromatic
#131A05 #1A2407 #405711 #668A1B #8BBD25

Accessibility & contrast

On white

8.11
#405711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#405711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405711
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405711#FFFFFF#000000##FFFFFF
##4057111.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5104
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#43534A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405711;
/* rgb */ color: rgb(64, 87, 17);
/* oklch */ color: oklch(42.3% 0.098 126.5);
Tailwind
colors: {
  custom: {
    50: '#778655',
    500: '#405711',
    950: '#000000',
  },
}
SCSS
$custom: #405711;
$custom-light: #778655;
$custom-dark: #000000;
JSON
{
  "hex": "#405711",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 79.714,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42311,
    "c": 0.0977,
    "h": 126.5
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#405711
secondary
#523490
accent
#3EEA76
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405711

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

Preview Lab → · Contrast checker → · Palette generator →

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