#406C16#406C16

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

Color values

HEX#406C16
RGBrgb(64, 108, 22)
HSLhsl(91, 66%, 25%)
HSVhsv(91, 80%, 42%)
CMYKcmyk(40.7%, 0%, 79.6%, 57.6%)
CIE-LABlab(41.01, -30.13, 40.35)
CIE-LCHlch(41.01, 50.36, 126.76°)
OKLaboklab(48.14% -0.0848 0.0899)
OKLCHoklch(48.14% 0.124 133.3)
XYZxyz(7.6216, 11.8727, 2.6490)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406C16 #42166C
analogous
#6B6C16 #406C16 #166C17
triadic
#406C16 #16406C #6C1640
tetradic
#406C16 #166B6C #42166C #6C1716
square
#406C16 #166B6C #42166C #6C1716
split-complementary
#406C16 #17166C #6C166B
monochromatic
#0F1905 #22390C #406C16 #5E9F20 #7CD22B

Accessibility & contrast

On white

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

On black

3.37
#406C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##406C16#FFFFFF#000000##FFFFFF
##406C161.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #406c16;
/* rgb */ color: rgb(64, 108, 22);
/* oklch */ color: oklch(48.1% 0.124 133.3);
Tailwind
colors: {
  custom: {
    50: '#79965a',
    500: '#406c16',
    950: '#000000',
  },
}
SCSS
$custom: #406c16;
$custom-light: #79965a;
$custom-dark: #000000;
JSON
{
  "hex": "#406c16",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 90.698,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.1236,
    "h": 133.3
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#406C16
secondary
#703CA2
accent
#3FE996
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406C16

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

Preview Lab → · Contrast checker → · Palette generator →

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