#405F11#405F11

#405F11 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.109 H 129.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#405F11
RGBrgb(64, 95, 17)
HSLhsl(84, 70%, 22%)
HSVhsv(84, 82%, 37%)
CMYKcmyk(32.6%, 0%, 82.1%, 62.7%)
CIE-LABlab(36.58, -24.22, 37.93)
CIE-LCHlch(36.58, 45.00, 122.56°)
OKLaboklab(44.51% -0.0692 0.084)
OKLCHoklch(44.51% 0.109 129.5)
XYZxyz(6.3077, 9.3147, 1.9958)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F11 #30115F
analogous
#5F5711 #405F11 #195F11
triadic
#405F11 #11405F #5F1140
tetradic
#405F11 #115F57 #30115F #5F1119
square
#405F11 #115F57 #30115F #5F1119
split-complementary
#405F11 #11195F #57115F
monochromatic
#111A05 #1D2B08 #405F11 #63931A #86C724

Accessibility & contrast

On white

7.33
#405F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#405F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F11
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F11#FFFFFF#000000##FFFFFF
##405F111.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645701
Deuteranopia (green-blind)
#605519
Tritanopia (blue-blind)
#425A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405f11;
/* rgb */ color: rgb(64, 95, 17);
/* oklch */ color: oklch(44.5% 0.109 129.5);
Tailwind
colors: {
  custom: {
    50: '#788c56',
    500: '#405f11',
    950: '#000000',
  },
}
SCSS
$custom: #405f11;
$custom-light: #788c56;
$custom-dark: #000000;
JSON
{
  "hex": "#405f11",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 83.846,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44514,
    "c": 0.10883,
    "h": 129.5
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#405F11
secondary
#5C3498
accent
#3BEC82
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405F11

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

Preview Lab → · Contrast checker → · Palette generator →

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