#405C15#405C15

#405C15 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.7% C 0.102 H 128.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#405C15
RGBrgb(64, 92, 21)
HSLhsl(84, 63%, 22%)
HSVhsv(84, 77%, 36%)
CMYKcmyk(30.4%, 0%, 77.2%, 63.9%)
CIE-LABlab(35.59, -22.45, 35.43)
CIE-LCHlch(35.59, 41.94, 122.37°)
OKLaboklab(43.72% -0.064 0.0795)
OKLCHoklch(43.72% 0.102 128.9)
XYZxyz(6.0768, 8.7983, 2.0874)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C15 #31155C
analogous
#5C5515 #405C15 #1D5C15
triadic
#405C15 #15405C #5C1540
tetradic
#405C15 #155C55 #31155C #5C151D
square
#405C15 #155C55 #31155C #5C151D
split-complementary
#405C15 #151D5C #55155C
monochromatic
#111906 #1D2A0A #405C15 #638E20 #85C02C

Accessibility & contrast

On white

7.61
#405C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#405C15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C15
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C15#FFFFFF#000000##FFFFFF
##405C151.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#42584E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c15;
/* rgb */ color: rgb(64, 92, 21);
/* oklch */ color: oklch(43.7% 0.102 128.9);
Tailwind
colors: {
  custom: {
    50: '#788a58',
    500: '#405c15',
    950: '#000000',
  },
}
SCSS
$custom: #405c15;
$custom-light: #788a58;
$custom-dark: #000000;
JSON
{
  "hex": "#405c15",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 21
  },
  "hsl": {
    "h": 83.662,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.10205,
    "h": 128.9
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#405C15
secondary
#5D3993
accent
#42E683
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405C15

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

Preview Lab → · Contrast checker → · Palette generator →

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