#405910#405910

#405910 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.9% C 0.101 H 127.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#405910
RGBrgb(64, 89, 16)
HSLhsl(81, 70%, 21%)
HSVhsv(81, 82%, 35%)
CMYKcmyk(28.1%, 0%, 82%, 65.1%)
CIE-LABlab(34.54, -21.23, 36.36)
CIE-LCHlch(34.54, 42.11, 120.28°)
OKLaboklab(42.85% -0.0611 0.0805)
OKLCHoklch(42.85% 0.101 127.2)
XYZxyz(5.7803, 8.2720, 1.7822)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405910 #291059
analogous
#594D10 #405910 #1B5910
triadic
#405910 #104059 #591040
tetradic
#405910 #10594D #291059 #59101B
square
#405910 #10594D #291059 #59101B
split-complementary
#405910 #101B59 #4D1059
monochromatic
#131A05 #1B2507 #405910 #658D19 #8BC123

Accessibility & contrast

On white

7.91
#405910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#405910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405910
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405910#FFFFFF#000000##FFFFFF
##4059101.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5201
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#43544B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #405910;
/* rgb */ color: rgb(64, 89, 16);
/* oklch */ color: oklch(42.9% 0.101 127.2);
Tailwind
colors: {
  custom: {
    50: '#788855',
    500: '#405910',
    950: '#000000',
  },
}
SCSS
$custom: #405910;
$custom-light: #788855;
$custom-dark: #000000;
JSON
{
  "hex": "#405910",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 80.548,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.10112,
    "h": 127.2
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#405910
secondary
#533392
accent
#3BEC78
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405910

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

Preview Lab → · Contrast checker → · Palette generator →

#405910 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva