#406813#406813

#406813 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.0% C 0.120 H 132.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#406813
RGBrgb(64, 104, 19)
HSLhsl(88, 69%, 24%)
HSVhsv(88, 82%, 41%)
CMYKcmyk(38.5%, 0%, 81.7%, 59.2%)
CIE-LABlab(39.64, -28.46, 40.11)
CIE-LCHlch(39.64, 49.18, 125.35°)
OKLaboklab(47.01% -0.0805 0.0889)
OKLCHoklch(47.01% 0.12 132.1)
XYZxyz(7.1821, 11.0373, 2.3680)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406813 #3B1368
analogous
#686613 #406813 #166813
triadic
#406813 #134068 #681340
tetradic
#406813 #136866 #3B1368 #681316
square
#406813 #136866 #3B1368 #681316
split-complementary
#406813 #131668 #661368
monochromatic
#101A05 #20340A #406813 #609C1C #80CF26

Accessibility & contrast

On white

6.55
#406813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#406813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406813
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406813#FFFFFF#000000##FFFFFF
##4068131.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#416358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406813;
/* rgb */ color: rgb(64, 104, 19);
/* oklch */ color: oklch(47.0% 0.120 132.1);
Tailwind
colors: {
  custom: {
    50: '#799358',
    500: '#406813',
    950: '#000000',
  },
}
SCSS
$custom: #406813;
$custom-light: #799358;
$custom-dark: #000000;
JSON
{
  "hex": "#406813",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 88.235,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47014,
    "c": 0.11994,
    "h": 132.1
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#406813
secondary
#68379F
accent
#3CEC8F
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406813

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

Preview Lab → · Contrast checker → · Palette generator →

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