#405F15#405F15

#405F15 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.106 H 129.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#405F15
RGBrgb(64, 95, 21)
HSLhsl(85, 64%, 23%)
HSVhsv(85, 78%, 37%)
CMYKcmyk(32.6%, 0%, 77.9%, 62.7%)
CIE-LABlab(36.61, -23.97, 36.43)
CIE-LCHlch(36.61, 43.61, 123.34°)
OKLaboklab(44.54% -0.0681 0.0816)
OKLCHoklch(44.54% 0.106 129.9)
XYZxyz(6.3419, 9.3284, 2.1757)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F15 #34155F
analogous
#5F5915 #405F15 #1B5F15
triadic
#405F15 #15405F #5F1540
tetradic
#405F15 #155F59 #34155F #5F151B
square
#405F15 #155F59 #34155F #5F151B
split-complementary
#405F15 #151B5F #59155F
monochromatic
#111906 #1E2D0A #405F15 #629120 #84C32B

Accessibility & contrast

On white

7.33
#405F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#405F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F15
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F15#FFFFFF#000000##FFFFFF
##405F151.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645807
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#425B51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405f15;
/* rgb */ color: rgb(64, 95, 21);
/* oklch */ color: oklch(44.5% 0.106 129.9);
Tailwind
colors: {
  custom: {
    50: '#788c58',
    500: '#405f15',
    950: '#000000',
  },
}
SCSS
$custom: #405f15;
$custom-light: #788c58;
$custom-dark: #000000;
JSON
{
  "hex": "#405f15",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 85.135,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44543,
    "c": 0.10629,
    "h": 129.9
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#405F15
secondary
#603A96
accent
#41E786
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405F15

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

Preview Lab → · Contrast checker → · Palette generator →

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