#405311#405311

#405311 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.092 H 124.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#405311
RGBrgb(64, 83, 17)
HSLhsl(77, 66%, 20%)
HSVhsv(77, 80%, 33%)
CMYKcmyk(22.9%, 0%, 79.5%, 67.5%)
CIE-LABlab(32.52, -18.00, 34.03)
CIE-LCHlch(32.52, 38.50, 117.88°)
OKLaboklab(41.21% -0.0522 0.0758)
OKLCHoklch(41.21% 0.092 124.6)
XYZxyz(5.3088, 7.3169, 1.6628)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405311 #241153
analogous
#534511 #405311 #1F5311
triadic
#405311 #114053 #531140
tetradic
#405311 #115345 #241153 #53111F
square
#405311 #115345 #241153 #53111F
split-complementary
#405311 #111F53 #451153
monochromatic
#141905 #192007 #405311 #67861B #8EB926

Accessibility & contrast

On white

8.52
#405311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#405311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405311
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405311#FFFFFF#000000##FFFFFF
##4053111.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#434F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405311;
/* rgb */ color: rgb(64, 83, 17);
/* oklch */ color: oklch(41.2% 0.092 124.6);
Tailwind
colors: {
  custom: {
    50: '#778354',
    500: '#405311',
    950: '#000000',
  },
}
SCSS
$custom: #405311;
$custom-light: #778354;
$custom-dark: #000000;
JSON
{
  "hex": "#405311",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 77.273,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.09207,
    "h": 124.6
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#405311
secondary
#4D348C
accent
#3FE970
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405311

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

Preview Lab → · Contrast checker → · Palette generator →

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