#405B1A#405B1A

#405B1A is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.5% C 0.097 H 129.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#405B1A
RGBrgb(64, 91, 26)
HSLhsl(85, 56%, 23%)
HSVhsv(85, 71%, 36%)
CMYKcmyk(29.7%, 0%, 71.4%, 64.3%)
CIE-LABlab(35.29, -21.55, 32.93)
CIE-LCHlch(35.29, 39.36, 123.20°)
OKLaboklab(43.49% -0.0611 0.075)
OKLCHoklch(43.49% 0.097 129.1)
XYZxyz(6.0419, 8.6466, 2.3277)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B1A #351A5B
analogous
#5B551A #405B1A #1F5B1A
triadic
#405B1A #1A405B #5B1A40
tetradic
#405B1A #1A5B55 #351A5B #5B1A1F
square
#405B1A #1A5B55 #351A5B #5B1A1F
split-complementary
#405B1A #1A1F5B #551A5B
monochromatic
#111807 #1F2B0C #405B1A #618B28 #83BA35

Accessibility & contrast

On white

7.69
#405B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#405B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B1A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B1A#FFFFFF#000000##FFFFFF
##405B1A1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605411
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#42574E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405b1a;
/* rgb */ color: rgb(64, 91, 26);
/* oklch */ color: oklch(43.5% 0.097 129.1);
Tailwind
colors: {
  custom: {
    50: '#77895a',
    500: '#405b1a',
    950: '#000000',
  },
}
SCSS
$custom: #405b1a;
$custom-light: #77895a;
$custom-dark: #000000;
JSON
{
  "hex": "#405b1a",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 26
  },
  "hsl": {
    "h": 84.923,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43487,
    "c": 0.09676,
    "h": 129.1
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#405B1A
secondary
#624091
accent
#49DF87
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #405B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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