#405810#405810

#405810 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.6% C 0.100 H 126.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#405810
RGBrgb(64, 88, 16)
HSLhsl(80, 69%, 20%)
HSVhsv(80, 82%, 35%)
CMYKcmyk(27.3%, 0%, 81.8%, 65.5%)
CIE-LABlab(34.20, -20.71, 36.04)
CIE-LCHlch(34.20, 41.57, 119.89°)
OKLaboklab(42.58% -0.0597 0.0799)
OKLCHoklch(42.58% 0.1 126.8)
XYZxyz(5.6976, 8.1067, 1.7547)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405810 #281058
analogous
#584C10 #405810 #1C5810
triadic
#405810 #104058 #581040
tetradic
#405810 #10584C #281058 #58101C
square
#405810 #10584C #281058 #58101C
split-complementary
#405810 #101C58 #4C1058
monochromatic
#131A05 #1A2407 #405810 #668C19 #8BC023

Accessibility & contrast

On white

8.01
#405810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#405810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405810
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405810#FFFFFF#000000##FFFFFF
##4058101.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5102
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#43544A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405810;
/* rgb */ color: rgb(64, 88, 16);
/* oklch */ color: oklch(42.6% 0.100 126.8);
Tailwind
colors: {
  custom: {
    50: '#788755',
    500: '#405810',
    950: '#000000',
  },
}
SCSS
$custom: #405810;
$custom-light: #788755;
$custom-dark: #000000;
JSON
{
  "hex": "#405810",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 80,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42578,
    "c": 0.09973,
    "h": 126.8
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#405810
secondary
#523291
accent
#3CEC77
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405810

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

Preview Lab → · Contrast checker → · Palette generator →

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