#406F16#406F16

#406F16 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 49.0% C 0.128 H 133.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#406F16
RGBrgb(64, 111, 22)
HSLhsl(92, 67%, 26%)
HSVhsv(92, 80%, 44%)
CMYKcmyk(42.3%, 0%, 80.2%, 56.5%)
CIE-LABlab(42.03, -31.50, 41.32)
CIE-LCHlch(42.03, 51.96, 127.32°)
OKLaboklab(48.97% -0.0885 0.092)
OKLCHoklch(48.97% 0.128 133.9)
XYZxyz(7.9435, 12.5164, 2.7563)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F16 #45166F
analogous
#6C6F16 #406F16 #166F18
triadic
#406F16 #16406F #6F1640
tetradic
#406F16 #166C6F #45166F #6F1816
square
#406F16 #166C6F #45166F #6F1816
split-complementary
#406F16 #18166F #6F166C
monochromatic
#0F1A05 #233C0C #406F16 #5DA220 #7BD52B

Accessibility & contrast

On white

5.99
#406F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#406F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406F16
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F16#FFFFFF#000000##FFFFFF
##406F161.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#406A5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406f16;
/* rgb */ color: rgb(64, 111, 22);
/* oklch */ color: oklch(49.0% 0.128 133.9);
Tailwind
colors: {
  custom: {
    50: '#7a995b',
    500: '#406f16',
    950: '#000000',
  },
}
SCSS
$custom: #406f16;
$custom-light: #7a995b;
$custom-dark: #000000;
JSON
{
  "hex": "#406f16",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 91.685,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.12763,
    "h": 133.9
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#406F16
secondary
#733CA5
accent
#3EEA99
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #406F16

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

Preview Lab → · Contrast checker → · Palette generator →

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