#406C19#406C19

#406C19 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.2% C 0.122 H 133.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#406C19
RGBrgb(64, 108, 25)
HSLhsl(92, 62%, 26%)
HSVhsv(92, 77%, 42%)
CMYKcmyk(40.7%, 0%, 76.9%, 57.6%)
CIE-LABlab(41.03, -29.93, 39.23)
CIE-LCHlch(41.03, 49.34, 127.34°)
OKLaboklab(48.16% -0.084 0.0881)
OKLCHoklch(48.16% 0.122 133.6)
XYZxyz(7.6523, 11.8849, 2.8103)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406C19 #45196C
analogous
#696C19 #406C19 #196C1B
triadic
#406C19 #19406C #6C1940
tetradic
#406C19 #19696C #45196C #6C1B19
square
#406C19 #19696C #45196C #6C1B19
split-complementary
#406C19 #1B196C #6C1969
monochromatic
#0F1906 #233A0D #406C19 #5D9E25 #7BCF30

Accessibility & contrast

On white

6.22
#406C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#406C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406C19
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406C19#FFFFFF#000000##FFFFFF
##406C191.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716309
Deuteranopia (green-blind)
#6B5F21
Tritanopia (blue-blind)
#40675C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #406c19;
/* rgb */ color: rgb(64, 108, 25);
/* oklch */ color: oklch(48.2% 0.122 133.6);
Tailwind
colors: {
  custom: {
    50: '#79965c',
    500: '#406c19',
    950: '#000000',
  },
}
SCSS
$custom: #406c19;
$custom-light: #79965c;
$custom-dark: #000000;
JSON
{
  "hex": "#406c19",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 91.807,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.12171,
    "h": 133.6
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#406C19
secondary
#733FA1
accent
#42E599
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406C19

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

Preview Lab → · Contrast checker → · Palette generator →

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