#405D13#405D13

#405D13 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.0% C 0.105 H 129.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#405D13
RGBrgb(64, 93, 19)
HSLhsl(84, 66%, 22%)
HSVhsv(84, 80%, 36%)
CMYKcmyk(31.2%, 0%, 79.6%, 63.5%)
CIE-LABlab(35.92, -23.09, 36.54)
CIE-LCHlch(35.92, 43.23, 122.29°)
OKLaboklab(43.98% -0.0659 0.0815)
OKLCHoklch(43.98% 0.105 129)
XYZxyz(6.1462, 8.9655, 2.0227)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D13 #30135D
analogous
#5D5513 #405D13 #1B5D13
triadic
#405D13 #13405D #5D1340
tetradic
#405D13 #135D55 #30135D #5D131B
square
#405D13 #135D55 #30135D #5D131B
split-complementary
#405D13 #131B5D #55135D
monochromatic
#111905 #1D2A09 #405D13 #63901D #86C328

Accessibility & contrast

On white

7.52
#405D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#405D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405D13
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D13#FFFFFF#000000##FFFFFF
##405D131.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625605
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#42594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405d13;
/* rgb */ color: rgb(64, 93, 19);
/* oklch */ color: oklch(44.0% 0.105 129.0);
Tailwind
colors: {
  custom: {
    50: '#788b57',
    500: '#405d13',
    950: '#000000',
  },
}
SCSS
$custom: #405d13;
$custom-light: #788b57;
$custom-dark: #000000;
JSON
{
  "hex": "#405d13",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 83.514,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.10481,
    "h": 129
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#405D13
secondary
#5C3795
accent
#3FE982
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405D13

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

Preview Lab → · Contrast checker → · Palette generator →

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