#405A13#405A13

#405A13 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.2% C 0.101 H 127.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#405A13
RGBrgb(64, 90, 19)
HSLhsl(82, 65%, 21%)
HSVhsv(82, 79%, 35%)
CMYKcmyk(28.9%, 0%, 78.9%, 64.7%)
CIE-LABlab(34.90, -21.56, 35.55)
CIE-LCHlch(34.90, 41.58, 121.23°)
OKLaboklab(43.15% -0.0618 0.0794)
OKLCHoklch(43.15% 0.101 127.9)
XYZxyz(5.8881, 8.4492, 1.9366)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405A13 #2D135A
analogous
#5A5113 #405A13 #1D5A13
triadic
#405A13 #13405A #5A1340
tetradic
#405A13 #135A51 #2D135A #5A131D
square
#405A13 #135A51 #2D135A #5A131D
split-complementary
#405A13 #131D5A #51135A
monochromatic
#121905 #1C2708 #405A13 #648D1E #88BF28

Accessibility & contrast

On white

7.81
#405A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#405A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405A13
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405A13#FFFFFF#000000##FFFFFF
##405A131.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5306
Deuteranopia (green-blind)
#5B521A
Tritanopia (blue-blind)
#43564C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #405a13;
/* rgb */ color: rgb(64, 90, 19);
/* oklch */ color: oklch(43.2% 0.101 127.9);
Tailwind
colors: {
  custom: {
    50: '#788856',
    500: '#405a13',
    950: '#000000',
  },
}
SCSS
$custom: #405a13;
$custom-light: #788856;
$custom-dark: #000000;
JSON
{
  "hex": "#405a13",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 81.972,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43151,
    "c": 0.10059,
    "h": 127.9
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#405A13
secondary
#583792
accent
#40E87D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405A13

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

Preview Lab → · Contrast checker → · Palette generator →

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