#405214#405214

#405214 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.0% C 0.088 H 124.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#405214
RGBrgb(64, 82, 20)
HSLhsl(77, 61%, 20%)
HSVhsv(77, 76%, 32%)
CMYKcmyk(22%, 0%, 75.6%, 67.8%)
CIE-LABlab(32.20, -17.25, 32.45)
CIE-LCHlch(32.20, 36.75, 118.00°)
OKLaboklab(40.97% -0.0499 0.073)
OKLCHoklch(40.97% 0.088 124.3)
XYZxyz(5.2580, 7.1750, 1.7696)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405214 #261452
analogous
#524514 #405214 #215214
triadic
#405214 #144052 #521440
tetradic
#405214 #145245 #261452 #521421
square
#405214 #145245 #261452 #521421
split-complementary
#405214 #142152 #451452
monochromatic
#131906 #1A2108 #405214 #668320 #8DB42C

Accessibility & contrast

On white

8.62
#405214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405214
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405214#FFFFFF#000000##FFFFFF
##4052141.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0A
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#434E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405214;
/* rgb */ color: rgb(64, 82, 20);
/* oklch */ color: oklch(41.0% 0.088 124.3);
Tailwind
colors: {
  custom: {
    50: '#778256',
    500: '#405214',
    950: '#000000',
  },
}
SCSS
$custom: #405214;
$custom-light: #778256;
$custom-dark: #000000;
JSON
{
  "hex": "#405214",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 77.419,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.40965,
    "c": 0.08845,
    "h": 124.3
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#405214
secondary
#50388A
accent
#44E472
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405214

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

Preview Lab → · Contrast checker → · Palette generator →

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