#406E16#406E16

#406E16 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.7% C 0.126 H 133.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#406E16
RGBrgb(64, 110, 22)
HSLhsl(91, 67%, 26%)
HSVhsv(91, 80%, 43%)
CMYKcmyk(41.8%, 0%, 80%, 56.9%)
CIE-LABlab(41.69, -31.05, 41.00)
CIE-LCHlch(41.69, 51.43, 127.14°)
OKLaboklab(48.69% -0.0873 0.0913)
OKLCHoklch(48.69% 0.126 133.7)
XYZxyz(7.8350, 12.2994, 2.7201)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E16 #44166E
analogous
#6C6E16 #406E16 #166E18
triadic
#406E16 #16406E #6E1640
tetradic
#406E16 #166C6E #44166E #6E1816
square
#406E16 #166C6E #44166E #6E1816
split-complementary
#406E16 #18166E #6E166C
monochromatic
#0F1A05 #223B0C #406E16 #5EA120 #7BD42A

Accessibility & contrast

On white

6.07
#406E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#406E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E16
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E16#FFFFFF#000000##FFFFFF
##406E161.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#40695D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406e16;
/* rgb */ color: rgb(64, 110, 22);
/* oklch */ color: oklch(48.7% 0.126 133.7);
Tailwind
colors: {
  custom: {
    50: '#79985b',
    500: '#406e16',
    950: '#000000',
  },
}
SCSS
$custom: #406e16;
$custom-light: #79985b;
$custom-dark: #000000;
JSON
{
  "hex": "#406e16",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 91.364,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48692,
    "c": 0.12629,
    "h": 133.7
  },
  "luminance": 0.123
}

Semantic roles & 50–950 ramp

primary
#406E16
secondary
#723CA4
accent
#3EEA98
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406E16

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

Preview Lab → · Contrast checker → · Palette generator →

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