#406D19#406D19

#406D19 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.4% C 0.123 H 133.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#406D19
RGBrgb(64, 109, 25)
HSLhsl(92, 63%, 26%)
HSVhsv(92, 77%, 43%)
CMYKcmyk(41.3%, 0%, 77.1%, 57.3%)
CIE-LABlab(41.37, -30.39, 39.56)
CIE-LCHlch(41.37, 49.89, 127.53°)
OKLaboklab(48.44% -0.0853 0.0888)
OKLCHoklch(48.44% 0.123 133.8)
XYZxyz(7.7583, 12.0971, 2.8457)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406D19 #46196D
analogous
#6A6D19 #406D19 #196D1C
triadic
#406D19 #19406D #6D1940
tetradic
#406D19 #196A6D #46196D #6D1C19
square
#406D19 #196A6D #46196D #6D1C19
split-complementary
#406D19 #1C196D #6D196A
monochromatic
#0F1906 #233B0E #406D19 #5D9F24 #7BD031

Accessibility & contrast

On white

6.14
#406D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#406D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406D19
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406D19#FFFFFF#000000##FFFFFF
##406D191.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726409
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#40685D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406d19;
/* rgb */ color: rgb(64, 109, 25);
/* oklch */ color: oklch(48.4% 0.123 133.8);
Tailwind
colors: {
  custom: {
    50: '#79975c',
    500: '#406d19',
    950: '#000000',
  },
}
SCSS
$custom: #406d19;
$custom-light: #79975c;
$custom-dark: #000000;
JSON
{
  "hex": "#406d19",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 92.143,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.12308,
    "h": 133.8
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#406D19
secondary
#743FA2
accent
#42E69A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406D19

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

Preview Lab → · Contrast checker → · Palette generator →

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