#405710#405710

#405710 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.3% C 0.098 H 126.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#405710
RGBrgb(64, 87, 16)
HSLhsl(79, 69%, 20%)
HSVhsv(79, 82%, 34%)
CMYKcmyk(26.4%, 0%, 81.6%, 65.9%)
CIE-LABlab(33.87, -20.19, 35.72)
CIE-LCHlch(33.87, 41.03, 119.48°)
OKLaboklab(42.3% -0.0583 0.0792)
OKLCHoklch(42.3% 0.098 126.4)
XYZxyz(5.6161, 7.9437, 1.7275)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405710 #271057
analogous
#574B10 #405710 #1C5710
triadic
#405710 #104057 #571040
tetradic
#405710 #10574B #271057 #57101C
square
#405710 #10574B #271057 #57101C
split-complementary
#405710 #101C57 #4B1057
monochromatic
#131A05 #1A2306 #405710 #668B1A #8CBE23

Accessibility & contrast

On white

8.11
#405710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#405710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405710
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405710#FFFFFF#000000##FFFFFF
##4057101.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5102
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#43534A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405710;
/* rgb */ color: rgb(64, 87, 16);
/* oklch */ color: oklch(42.3% 0.098 126.4);
Tailwind
colors: {
  custom: {
    50: '#788654',
    500: '#405710',
    950: '#000000',
  },
}
SCSS
$custom: #405710;
$custom-light: #788654;
$custom-dark: #000000;
JSON
{
  "hex": "#405710",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 79.437,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42303,
    "c": 0.09833,
    "h": 126.4
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#405710
secondary
#513290
accent
#3CEC75
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405710

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

Preview Lab → · Contrast checker → · Palette generator →

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