#405E16#405E16

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

Color values

HEX#405E16
RGBrgb(64, 94, 22)
HSLhsl(85, 62%, 23%)
HSVhsv(85, 77%, 37%)
CMYKcmyk(31.9%, 0%, 76.6%, 63.1%)
CIE-LABlab(36.28, -23.39, 35.70)
CIE-LCHlch(36.28, 42.68, 123.24°)
OKLaboklab(44.28% -0.0665 0.0802)
OKLCHoklch(44.28% 0.104 129.7)
XYZxyz(6.2618, 9.1531, 2.1957)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E16 #34165E
analogous
#5E5816 #405E16 #1C5E16
triadic
#405E16 #16405E #5E1640
tetradic
#405E16 #165E58 #34165E #5E161C
square
#405E16 #165E58 #34165E #5E161C
split-complementary
#405E16 #161C5E #58165E
monochromatic
#111906 #1E2C0A #405E16 #629022 #84C12D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405E16#FFFFFF#000000##FFFFFF
##405E161.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)
#635709
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#425A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e16;
/* rgb */ color: rgb(64, 94, 22);
/* oklch */ color: oklch(44.3% 0.104 129.7);
Tailwind
colors: {
  custom: {
    50: '#788c59',
    500: '#405e16',
    950: '#000000',
  },
}
SCSS
$custom: #405e16;
$custom-light: #788c59;
$custom-dark: #000000;
JSON
{
  "hex": "#405e16",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 85,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.10418,
    "h": 129.7
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#405E16
secondary
#603B95
accent
#43E586
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405E16

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

Preview Lab → · Contrast checker → · Palette generator →

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