#405B10#405B10

#405B10 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.4% C 0.104 H 128.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#405B10
RGBrgb(64, 91, 16)
HSLhsl(82, 70%, 21%)
HSVhsv(82, 82%, 36%)
CMYKcmyk(29.7%, 0%, 82.4%, 64.3%)
CIE-LABlab(35.22, -22.26, 37.00)
CIE-LCHlch(35.22, 43.18, 121.03°)
OKLaboklab(43.4% -0.0639 0.0819)
OKLCHoklch(43.4% 0.104 128)
XYZxyz(5.9490, 8.6094, 1.8385)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B10 #2B105B
analogous
#5B5010 #405B10 #1A5B10
triadic
#405B10 #10405B #5B1040
tetradic
#405B10 #105B50 #2B105B #5B101A
square
#405B10 #105B50 #2B105B #5B101A
split-complementary
#405B10 #101A5B #50105B
monochromatic
#121A05 #1B2707 #405B10 #658F19 #89C322

Accessibility & contrast

On white

7.71
#405B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#405B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B10
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B10#FFFFFF#000000##FFFFFF
##405B101.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605401
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#43564D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405b10;
/* rgb */ color: rgb(64, 91, 16);
/* oklch */ color: oklch(43.4% 0.104 128.0);
Tailwind
colors: {
  custom: {
    50: '#788955',
    500: '#405b10',
    950: '#000000',
  },
}
SCSS
$custom: #405b10;
$custom-light: #788955;
$custom-dark: #000000;
JSON
{
  "hex": "#405b10",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 81.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.10389,
    "h": 128
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#405B10
secondary
#563394
accent
#3BED7B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405B10

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

Preview Lab → · Contrast checker → · Palette generator →

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