#405C1A#405C1A

#405C1A is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.8% C 0.098 H 129.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#405C1A
RGBrgb(64, 92, 26)
HSLhsl(85, 56%, 23%)
HSVhsv(85, 72%, 36%)
CMYKcmyk(30.4%, 0%, 71.7%, 63.9%)
CIE-LABlab(35.63, -22.06, 33.29)
CIE-LCHlch(35.63, 39.94, 123.54°)
OKLaboklab(43.76% -0.0625 0.0758)
OKLCHoklch(43.76% 0.098 129.5)
XYZxyz(6.1279, 8.8187, 2.3564)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C1A #361A5C
analogous
#5C571A #405C1A #1F5C1A
triadic
#405C1A #1A405C #5C1A40
tetradic
#405C1A #1A5C57 #361A5C #5C1A1F
square
#405C1A #1A5C57 #361A5C #5C1A1F
split-complementary
#405C1A #1A1F5C #571A5C
monochromatic
#111807 #1F2C0D #405C1A #618C27 #82BB35

Accessibility & contrast

On white

7.60
#405C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405C1A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C1A#FFFFFF#000000##FFFFFF
##405C1A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615511
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#42584F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c1a;
/* rgb */ color: rgb(64, 92, 26);
/* oklch */ color: oklch(43.8% 0.098 129.5);
Tailwind
colors: {
  custom: {
    50: '#778a5a',
    500: '#405c1a',
    950: '#000000',
  },
}
SCSS
$custom: #405c1a;
$custom-light: #778a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#405c1a",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 26
  },
  "hsl": {
    "h": 85.455,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.09823,
    "h": 129.5
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#405C1A
secondary
#634092
accent
#49DF88
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #405C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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