#405210#405210

#405210 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.9% C 0.091 H 124.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#405210
RGBrgb(64, 82, 16)
HSLhsl(76, 67%, 19%)
HSVhsv(76, 80%, 32%)
CMYKcmyk(22%, 0%, 80.5%, 67.8%)
CIE-LABlab(32.17, -17.52, 34.10)
CIE-LCHlch(32.17, 38.34, 117.20°)
OKLaboklab(40.93% -0.051 0.0758)
OKLCHoklch(40.93% 0.091 124)
XYZxyz(5.2252, 7.1619, 1.5972)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405210 #221052
analogous
#524310 #405210 #1F5210
triadic
#405210 #104052 #521040
tetradic
#405210 #105243 #221052 #52101F
square
#405210 #105243 #221052 #52101F
split-complementary
#405210 #101F52 #431052
monochromatic
#141A05 #181F06 #405210 #68851A #90B824

Accessibility & contrast

On white

8.63
#405210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#405210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405210
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405210#FFFFFF#000000##FFFFFF
##4052101.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#444E45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405210;
/* rgb */ color: rgb(64, 82, 16);
/* oklch */ color: oklch(40.9% 0.091 124.0);
Tailwind
colors: {
  custom: {
    50: '#778254',
    500: '#405210',
    950: '#000000',
  },
}
SCSS
$custom: #405210;
$custom-light: #778254;
$custom-dark: #000000;
JSON
{
  "hex": "#405210",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 76.364,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.09135,
    "h": 124
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#405210
secondary
#4B328C
accent
#3EEA6D
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405210

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

Preview Lab → · Contrast checker → · Palette generator →

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