#405E15#405E15

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

Color values

HEX#405E15
RGBrgb(64, 94, 21)
HSLhsl(85, 63%, 23%)
HSVhsv(85, 78%, 37%)
CMYKcmyk(31.9%, 0%, 77.7%, 63.1%)
CIE-LABlab(36.27, -23.46, 36.10)
CIE-LCHlch(36.27, 43.05, 123.02°)
OKLaboklab(44.27% -0.0668 0.0809)
OKLCHoklch(44.27% 0.105 129.6)
XYZxyz(6.2524, 9.1494, 2.1459)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E15 #33155E
analogous
#5E5815 #405E15 #1B5E15
triadic
#405E15 #15405E #5E1540
tetradic
#405E15 #155E58 #33155E #5E151B
square
#405E15 #155E58 #33155E #5E151B
split-complementary
#405E15 #151B5E #58155E
monochromatic
#111906 #1E2C0A #405E15 #629020 #84C22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405E15#FFFFFF#000000##FFFFFF
##405E151.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)
#635708
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#425A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e15;
/* rgb */ color: rgb(64, 94, 21);
/* oklch */ color: oklch(44.3% 0.105 129.6);
Tailwind
colors: {
  custom: {
    50: '#788c58',
    500: '#405e15',
    950: '#000000',
  },
}
SCSS
$custom: #405e15;
$custom-light: #788c58;
$custom-dark: #000000;
JSON
{
  "hex": "#405e15",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 84.658,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.10488,
    "h": 129.6
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#405E15
secondary
#5F3995
accent
#41E785
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405E15

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

Preview Lab → · Contrast checker → · Palette generator →

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