#406E19#406E19

#406E19 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.7% C 0.124 H 134.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#406E19
RGBrgb(64, 110, 25)
HSLhsl(92, 63%, 26%)
HSVhsv(92, 77%, 43%)
CMYKcmyk(41.8%, 0%, 77.3%, 56.9%)
CIE-LABlab(41.71, -30.85, 39.89)
CIE-LCHlch(41.71, 50.43, 127.71°)
OKLaboklab(48.71% -0.0865 0.0895)
OKLCHoklch(48.71% 0.124 134)
XYZxyz(7.8656, 12.3116, 2.8815)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E19 #47196E
analogous
#6B6E19 #406E19 #196E1D
triadic
#406E19 #19406E #6E1940
tetradic
#406E19 #196B6E #47196E #6E1D19
square
#406E19 #196B6E #47196E #6E1D19
split-complementary
#406E19 #1D196E #6E196B
monochromatic
#0F1906 #233C0E #406E19 #5DA024 #7AD031

Accessibility & contrast

On white

6.07
#406E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#406E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E19
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E19#FFFFFF#000000##FFFFFF
##406E191.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#40695E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406e19;
/* rgb */ color: rgb(64, 110, 25);
/* oklch */ color: oklch(48.7% 0.124 134.0);
Tailwind
colors: {
  custom: {
    50: '#79985c',
    500: '#406e19',
    950: '#000000',
  },
}
SCSS
$custom: #406e19;
$custom-light: #79985c;
$custom-dark: #000000;
JSON
{
  "hex": "#406e19",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 92.471,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48714,
    "c": 0.12444,
    "h": 134
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#406E19
secondary
#763FA3
accent
#42E69B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406E19

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

Preview Lab → · Contrast checker → · Palette generator →

#406E19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva