#405213#405213

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

Color values

HEX#405213
RGBrgb(64, 82, 19)
HSLhsl(77, 62%, 20%)
HSVhsv(77, 77%, 32%)
CMYKcmyk(22%, 0%, 76.8%, 67.8%)
CIE-LABlab(32.19, -17.32, 32.87)
CIE-LCHlch(32.19, 37.16, 117.79°)
OKLaboklab(40.96% -0.0502 0.0738)
OKLCHoklch(40.96% 0.089 124.2)
XYZxyz(5.2492, 7.1715, 1.7237)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405213 #251352
analogous
#524513 #405213 #215213
triadic
#405213 #134052 #521340
tetradic
#405213 #135245 #251352 #521321
square
#405213 #135245 #251352 #521321
split-complementary
#405213 #132152 #451352
monochromatic
#131906 #192007 #405213 #67841F #8EB52A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405213#FFFFFF#000000##FFFFFF
##4052131.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)
#574C09
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#434E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405213;
/* rgb */ color: rgb(64, 82, 19);
/* oklch */ color: oklch(41.0% 0.089 124.2);
Tailwind
colors: {
  custom: {
    50: '#778255',
    500: '#405213',
    950: '#000000',
  },
}
SCSS
$custom: #405213;
$custom-light: #778255;
$custom-dark: #000000;
JSON
{
  "hex": "#405213",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 77.143,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40957,
    "c": 0.08921,
    "h": 124.2
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#405213
secondary
#4E368A
accent
#42E571
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405213

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

Preview Lab → · Contrast checker → · Palette generator →

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