#405C10#405C10

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

Color values

HEX#405C10
RGBrgb(64, 92, 16)
HSLhsl(82, 70%, 21%)
HSVhsv(82, 83%, 36%)
CMYKcmyk(30.4%, 0%, 82.6%, 63.9%)
CIE-LABlab(35.56, -22.77, 37.32)
CIE-LCHlch(35.56, 43.72, 121.39°)
OKLaboklab(43.68% -0.0653 0.0826)
OKLCHoklch(43.68% 0.105 128.4)
XYZxyz(6.0350, 8.7815, 1.8672)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C10 #2C105C
analogous
#5C5210 #405C10 #1A5C10
triadic
#405C10 #10405C #5C1040
tetradic
#405C10 #105C52 #2C105C #5C101A
square
#405C10 #105C52 #2C105C #5C101A
split-complementary
#405C10 #101A5C #52105C
monochromatic
#121A05 #1C2807 #405C10 #649019 #89C422

Accessibility & contrast

On white

7.62
#405C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405C10
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C10#FFFFFF#000000##FFFFFF
##405C101.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#42574E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c10;
/* rgb */ color: rgb(64, 92, 16);
/* oklch */ color: oklch(43.7% 0.105 128.4);
Tailwind
colors: {
  custom: {
    50: '#788a55',
    500: '#405c10',
    950: '#000000',
  },
}
SCSS
$custom: #405c10;
$custom-light: #788a55;
$custom-dark: #000000;
JSON
{
  "hex": "#405c10",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 82.105,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4368,
    "c": 0.10527,
    "h": 128.4
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#405C10
secondary
#573395
accent
#3BED7C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405C10

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

Preview Lab → · Contrast checker → · Palette generator →

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