#405B11#405B11

#405B11 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.4% C 0.103 H 128.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#405B11
RGBrgb(64, 91, 17)
HSLhsl(82, 69%, 21%)
HSVhsv(82, 81%, 36%)
CMYKcmyk(29.7%, 0%, 81.3%, 64.3%)
CIE-LABlab(35.23, -22.20, 36.64)
CIE-LCHlch(35.23, 42.84, 121.21°)
OKLaboklab(43.41% -0.0637 0.0813)
OKLCHoklch(43.41% 0.103 128.1)
XYZxyz(5.9566, 8.6125, 1.8788)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B11 #2C115B
analogous
#5B5111 #405B11 #1B5B11
triadic
#405B11 #11405B #5B1140
tetradic
#405B11 #115B51 #2C115B #5B111B
square
#405B11 #115B51 #2C115B #5B111B
split-complementary
#405B11 #111B5B #51115B
monochromatic
#121A05 #1C2707 #405B11 #648F1B #89C224

Accessibility & contrast

On white

7.71
#405B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#405B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B11
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B11#FFFFFF#000000##FFFFFF
##405B111.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#43574D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405b11;
/* rgb */ color: rgb(64, 91, 17);
/* oklch */ color: oklch(43.4% 0.103 128.1);
Tailwind
colors: {
  custom: {
    50: '#788956',
    500: '#405b11',
    950: '#000000',
  },
}
SCSS
$custom: #405b11;
$custom-light: #788956;
$custom-dark: #000000;
JSON
{
  "hex": "#405b11",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 81.892,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43411,
    "c": 0.10328,
    "h": 128.1
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#405B11
secondary
#573494
accent
#3CEB7C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405B11

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

Preview Lab → · Contrast checker → · Palette generator →

#405B11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva