#405E11#405E11

#405E11 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.2% C 0.107 H 129.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#405E11
RGBrgb(64, 94, 17)
HSLhsl(83, 69%, 22%)
HSVhsv(83, 82%, 37%)
CMYKcmyk(31.9%, 0%, 81.9%, 63.1%)
CIE-LABlab(36.24, -23.72, 37.61)
CIE-LCHlch(36.24, 44.46, 122.24°)
OKLaboklab(44.24% -0.0678 0.0833)
OKLCHoklch(44.24% 0.107 129.1)
XYZxyz(6.2182, 9.1357, 1.9660)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E11 #2F115E
analogous
#5E5611 #405E11 #1A5E11
triadic
#405E11 #11405E #5E1140
tetradic
#405E11 #115E56 #2F115E #5E111A
square
#405E11 #115E56 #2F115E #5E111A
split-complementary
#405E11 #111A5E #56115E
monochromatic
#121A05 #1D2A08 #405E11 #63921A #87C624

Accessibility & contrast

On white

7.43
#405E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#405E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E11
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E11#FFFFFF#000000##FFFFFF
##405E111.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635701
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#425950
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e11;
/* rgb */ color: rgb(64, 94, 17);
/* oklch */ color: oklch(44.2% 0.107 129.1);
Tailwind
colors: {
  custom: {
    50: '#788c56',
    500: '#405e11',
    950: '#000000',
  },
}
SCSS
$custom: #405e11;
$custom-light: #788c56;
$custom-dark: #000000;
JSON
{
  "hex": "#405e11",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 83.377,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.10744,
    "h": 129.1
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#405E11
secondary
#5B3497
accent
#3CEC80
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405E11

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

Preview Lab → · Contrast checker → · Palette generator →

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