#406A19#406A19

#406A19 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.6% C 0.119 H 133.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#406A19
RGBrgb(64, 106, 25)
HSLhsl(91, 62%, 26%)
HSVhsv(91, 76%, 42%)
CMYKcmyk(39.6%, 0%, 76.4%, 58.4%)
CIE-LABlab(40.36, -29.00, 38.55)
CIE-LCHlch(40.36, 48.24, 126.95°)
OKLaboklab(47.61% -0.0815 0.0867)
OKLCHoklch(47.61% 0.119 133.2)
XYZxyz(7.4437, 11.4679, 2.7408)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406A19 #43196A
analogous
#686A19 #406A19 #196A1A
triadic
#406A19 #19406A #6A1940
tetradic
#406A19 #19686A #43196A #6A1A19
square
#406A19 #19686A #43196A #6A1A19
split-complementary
#406A19 #1A196A #6A1968
monochromatic
#0F1906 #22380D #406A19 #5E9C25 #7CCD30

Accessibility & contrast

On white

6.38
#406A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#406A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406A19
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406A19#FFFFFF#000000##FFFFFF
##406A191.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F610A
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#40665A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #406a19;
/* rgb */ color: rgb(64, 106, 25);
/* oklch */ color: oklch(47.6% 0.119 133.2);
Tailwind
colors: {
  custom: {
    50: '#79955c',
    500: '#406a19',
    950: '#000000',
  },
}
SCSS
$custom: #406a19;
$custom-light: #79955c;
$custom-dark: #000000;
JSON
{
  "hex": "#406a19",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 91.111,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4761,
    "c": 0.11896,
    "h": 133.2
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#406A19
secondary
#713FA0
accent
#43E597
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406A19

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

Preview Lab → · Contrast checker → · Palette generator →

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