#406B16#406B16

#406B16 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.9% C 0.122 H 133.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#406B16
RGBrgb(64, 107, 22)
HSLhsl(90, 66%, 25%)
HSVhsv(90, 79%, 42%)
CMYKcmyk(40.2%, 0%, 79.4%, 58%)
CIE-LABlab(40.68, -29.67, 40.02)
CIE-LCHlch(40.68, 49.82, 126.55°)
OKLaboklab(47.86% -0.0835 0.0893)
OKLCHoklch(47.86% 0.122 133.1)
XYZxyz(7.5168, 11.6630, 2.6140)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406B16 #41166B
analogous
#6A6B16 #406B16 #166B17
triadic
#406B16 #16406B #6B1640
tetradic
#406B16 #166A6B #41166B #6B1716
square
#406B16 #166A6B #41166B #6B1716
split-complementary
#406B16 #17166B #6B166A
monochromatic
#0F1905 #22380C #406B16 #5E9E20 #7DD12B

Accessibility & contrast

On white

6.30
#406B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#406B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406B16
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406B16#FFFFFF#000000##FFFFFF
##406B161.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706204
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#40665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406b16;
/* rgb */ color: rgb(64, 107, 22);
/* oklch */ color: oklch(47.9% 0.122 133.1);
Tailwind
colors: {
  custom: {
    50: '#79955a',
    500: '#406b16',
    950: '#000000',
  },
}
SCSS
$custom: #406b16;
$custom-light: #79955a;
$custom-dark: #000000;
JSON
{
  "hex": "#406b16",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 90.353,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.12225,
    "h": 133.1
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#406B16
secondary
#6F3BA1
accent
#3FE995
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406B16

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

Preview Lab → · Contrast checker → · Palette generator →

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