#405E14#405E14

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

Color values

HEX#405E14
RGBrgb(64, 94, 20)
HSLhsl(84, 65%, 22%)
HSVhsv(84, 79%, 37%)
CMYKcmyk(31.9%, 0%, 78.7%, 63.1%)
CIE-LABlab(36.26, -23.53, 36.49)
CIE-LCHlch(36.26, 43.42, 122.82°)
OKLaboklab(44.26% -0.0671 0.0815)
OKLCHoklch(44.26% 0.106 129.4)
XYZxyz(6.2433, 9.1457, 2.0980)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E14 #32145E
analogous
#5E5714 #405E14 #1B5E14
triadic
#405E14 #14405E #5E1440
tetradic
#405E14 #145E57 #32145E #5E141B
square
#405E14 #145E57 #32145E #5E141B
split-complementary
#405E14 #141B5E #57145E
monochromatic
#111905 #1E2C09 #405E14 #62901F #85C329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405E14#FFFFFF#000000##FFFFFF
##405E141.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)
#635706
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#425A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e14;
/* rgb */ color: rgb(64, 94, 20);
/* oklch */ color: oklch(44.3% 0.106 129.4);
Tailwind
colors: {
  custom: {
    50: '#788c57',
    500: '#405e14',
    950: '#000000',
  },
}
SCSS
$custom: #405e14;
$custom-light: #788c57;
$custom-dark: #000000;
JSON
{
  "hex": "#405e14",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 84.324,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.10556,
    "h": 129.4
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#405E14
secondary
#5E3896
accent
#40E884
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405E14

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

Preview Lab → · Contrast checker → · Palette generator →

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