#405C11#405C11

#405C11 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.7% C 0.105 H 128.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#405C11
RGBrgb(64, 92, 17)
HSLhsl(82, 69%, 21%)
HSVhsv(82, 82%, 36%)
CMYKcmyk(30.4%, 0%, 81.5%, 63.9%)
CIE-LABlab(35.57, -22.71, 36.96)
CIE-LCHlch(35.57, 43.38, 121.57°)
OKLaboklab(43.69% -0.0651 0.082)
OKLCHoklch(43.69% 0.105 128.4)
XYZxyz(6.0427, 8.7846, 1.9074)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C11 #2D115C
analogous
#5C5311 #405C11 #1B5C11
triadic
#405C11 #11405C #5C1140
tetradic
#405C11 #115C53 #2D115C #5C111B
square
#405C11 #115C53 #2D115C #5C111B
split-complementary
#405C11 #111B5C #53115C
monochromatic
#121A05 #1C2807 #405C11 #64901B #88C324

Accessibility & contrast

On white

7.62
#405C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#405C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C11
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C11#FFFFFF#000000##FFFFFF
##405C111.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615502
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#42574E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c11;
/* rgb */ color: rgb(64, 92, 17);
/* oklch */ color: oklch(43.7% 0.105 128.4);
Tailwind
colors: {
  custom: {
    50: '#788a56',
    500: '#405c11',
    950: '#000000',
  },
}
SCSS
$custom: #405c11;
$custom-light: #788a56;
$custom-dark: #000000;
JSON
{
  "hex": "#405c11",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 82.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43687,
    "c": 0.10467,
    "h": 128.4
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#405C11
secondary
#583495
accent
#3CEC7E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405C11

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

Preview Lab → · Contrast checker → · Palette generator →

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