#405C13#405C13

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

Color values

HEX#405C13
RGBrgb(64, 92, 19)
HSLhsl(83, 66%, 22%)
HSVhsv(83, 79%, 36%)
CMYKcmyk(30.4%, 0%, 79.3%, 63.9%)
CIE-LABlab(35.58, -22.59, 36.22)
CIE-LCHlch(35.58, 42.68, 121.95°)
OKLaboklab(43.7% -0.0646 0.0808)
OKLCHoklch(43.7% 0.103 128.6)
XYZxyz(6.0590, 8.7911, 1.9936)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C13 #2F135C
analogous
#5C5413 #405C13 #1B5C13
triadic
#405C13 #13405C #5C1340
tetradic
#405C13 #135C54 #2F135C #5C131B
square
#405C13 #135C54 #2F135C #5C131B
split-complementary
#405C13 #131B5C #54135C
monochromatic
#121905 #1D2909 #405C13 #638F1D #87C128

Accessibility & contrast

On white

7.61
#405C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405C13
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C13#FFFFFF#000000##FFFFFF
##405C131.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615505
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#42584E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c13;
/* rgb */ color: rgb(64, 92, 19);
/* oklch */ color: oklch(43.7% 0.103 128.6);
Tailwind
colors: {
  custom: {
    50: '#788a57',
    500: '#405c13',
    950: '#000000',
  },
}
SCSS
$custom: #405c13;
$custom-light: #788a57;
$custom-dark: #000000;
JSON
{
  "hex": "#405c13",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 83.014,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43701,
    "c": 0.10341,
    "h": 128.6
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#405C13
secondary
#5B3794
accent
#3FE980
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405C13

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

Preview Lab → · Contrast checker → · Palette generator →

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