#406213#406213

#406213 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.4% C 0.112 H 130.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#406213
RGBrgb(64, 98, 19)
HSLhsl(86, 68%, 23%)
HSVhsv(86, 81%, 38%)
CMYKcmyk(34.7%, 0%, 80.6%, 61.6%)
CIE-LABlab(37.61, -25.58, 38.18)
CIE-LCHlch(37.61, 45.95, 123.82°)
OKLaboklab(45.36% -0.0727 0.0849)
OKLCHoklch(45.36% 0.112 130.6)
XYZxyz(6.5995, 9.8721, 2.1738)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406213 #351362
analogous
#625C13 #406213 #186213
triadic
#406213 #134062 #621340
tetradic
#406213 #13625C #351362 #621318
square
#406213 #13625C #351362 #621318
split-complementary
#406213 #131862 #5C1362
monochromatic
#111A05 #1F2F09 #406213 #61951D #83C927

Accessibility & contrast

On white

7.06
#406213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#406213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406213
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406213#FFFFFF#000000##FFFFFF
##4062131.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A03
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#425D53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #406213;
/* rgb */ color: rgb(64, 98, 19);
/* oklch */ color: oklch(45.4% 0.112 130.6);
Tailwind
colors: {
  custom: {
    50: '#788f58',
    500: '#406213',
    950: '#000000',
  },
}
SCSS
$custom: #406213;
$custom-light: #788f58;
$custom-dark: #000000;
JSON
{
  "hex": "#406213",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 85.823,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45356,
    "c": 0.11176,
    "h": 130.6
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#406213
secondary
#62379A
accent
#3DEA88
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406213

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

Preview Lab → · Contrast checker → · Palette generator →

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