#406219#406219

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

Color values

HEX#406219
RGBrgb(64, 98, 25)
HSLhsl(88, 59%, 24%)
HSVhsv(88, 74%, 38%)
CMYKcmyk(34.7%, 0%, 74.5%, 61.6%)
CIE-LABlab(37.65, -25.16, 35.82)
CIE-LCHlch(37.65, 43.78, 125.08°)
OKLaboklab(45.4% -0.071 0.0809)
OKLCHoklch(45.4% 0.108 131.3)
XYZxyz(6.6574, 9.8953, 2.4787)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406219 #3B1962
analogous
#626019 #406219 #1C6219
triadic
#406219 #194062 #621940
tetradic
#406219 #196260 #3B1962 #62191C
square
#406219 #196260 #3B1962 #62191C
split-complementary
#406219 #191C62 #601962
monochromatic
#101806 #20310D #406219 #609325 #80C432

Accessibility & contrast

On white

7.05
#406219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#406219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406219
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406219#FFFFFF#000000##FFFFFF
##4062191.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0D
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#415E54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #406219;
/* rgb */ color: rgb(64, 98, 25);
/* oklch */ color: oklch(45.4% 0.108 131.3);
Tailwind
colors: {
  custom: {
    50: '#788f5b',
    500: '#406219',
    950: '#000000',
  },
}
SCSS
$custom: #406219;
$custom-light: #788f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#406219",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 25
  },
  "hsl": {
    "h": 87.945,
    "s": 59.35,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.10771,
    "h": 131.3
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#406219
secondary
#683F98
accent
#45E38F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406219

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

Preview Lab → · Contrast checker → · Palette generator →

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