#406413#406413

#406413 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.9% C 0.115 H 131.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#406413
RGBrgb(64, 100, 19)
HSLhsl(87, 68%, 23%)
HSVhsv(87, 81%, 39%)
CMYKcmyk(36%, 0%, 81%, 60.8%)
CIE-LABlab(38.29, -26.55, 38.83)
CIE-LCHlch(38.29, 47.04, 124.36°)
OKLaboklab(45.91% -0.0753 0.0862)
OKLCHoklch(45.91% 0.115 131.1)
XYZxyz(6.7890, 10.2511, 2.2369)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406413 #371364
analogous
#645F13 #406413 #176413
triadic
#406413 #134064 #641340
tetradic
#406413 #13645F #371364 #641317
square
#406413 #13645F #371364 #641317
split-complementary
#406413 #131764 #5F1364
monochromatic
#101A05 #1F3109 #406413 #61971D #82CB27

Accessibility & contrast

On white

6.88
#406413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#406413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406413
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406413#FFFFFF#000000##FFFFFF
##4064131.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C02
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#415F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406413;
/* rgb */ color: rgb(64, 100, 19);
/* oklch */ color: oklch(45.9% 0.115 131.1);
Tailwind
colors: {
  custom: {
    50: '#789058',
    500: '#406413',
    950: '#000000',
  },
}
SCSS
$custom: #406413;
$custom-light: #789058;
$custom-dark: #000000;
JSON
{
  "hex": "#406413",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 19
  },
  "hsl": {
    "h": 86.667,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45908,
    "c": 0.11451,
    "h": 131.1
  },
  "luminance": 0.10251
}

Semantic roles & 50–950 ramp

primary
#406413
secondary
#64379C
accent
#3DEB8A
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406413

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

Preview Lab → · Contrast checker → · Palette generator →

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