#405E13#405E13

#405E13 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.3% C 0.106 H 129.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#405E13
RGBrgb(64, 94, 19)
HSLhsl(84, 66%, 22%)
HSVhsv(84, 80%, 37%)
CMYKcmyk(31.9%, 0%, 79.8%, 63.1%)
CIE-LABlab(36.26, -23.60, 36.87)
CIE-LCHlch(36.26, 43.78, 122.62°)
OKLaboklab(44.25% -0.0673 0.0821)
OKLCHoklch(44.25% 0.106 129.3)
XYZxyz(6.2346, 9.1422, 2.0521)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E13 #31135E
analogous
#5E5713 #405E13 #1B5E13
triadic
#405E13 #13405E #5E1340
tetradic
#405E13 #135E57 #31135E #5E131B
square
#405E13 #135E57 #31135E #5E131B
split-complementary
#405E13 #131B5E #57135E
monochromatic
#111905 #1D2B09 #405E13 #63911D #85C428

Accessibility & contrast

On white

7.42
#405E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#405E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E13
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E13#FFFFFF#000000##FFFFFF
##405E131.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635704
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#425A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e13;
/* rgb */ color: rgb(64, 94, 19);
/* oklch */ color: oklch(44.3% 0.106 129.3);
Tailwind
colors: {
  custom: {
    50: '#788c57',
    500: '#405e13',
    950: '#000000',
  },
}
SCSS
$custom: #405e13;
$custom-light: #788c57;
$custom-dark: #000000;
JSON
{
  "hex": "#405e13",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 84,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.1062,
    "h": 129.3
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#405E13
secondary
#5D3796
accent
#3FE983
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405E13

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

Preview Lab → · Contrast checker → · Palette generator →

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