#406916#406916

#406916 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.3% C 0.120 H 132.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#406916
RGBrgb(64, 105, 22)
HSLhsl(90, 65%, 25%)
HSVhsv(90, 79%, 41%)
CMYKcmyk(39%, 0%, 79%, 58.8%)
CIE-LABlab(40.00, -28.74, 39.37)
CIE-LCHlch(40.00, 48.74, 126.13°)
OKLaboklab(47.31% -0.081 0.0879)
OKLCHoklch(47.31% 0.12 132.7)
XYZxyz(7.3106, 11.2507, 2.5453)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406916 #3F1669
analogous
#696916 #406916 #166916
triadic
#406916 #164069 #691640
tetradic
#406916 #166969 #3F1669 #691616
square
#406916 #166969 #3F1669 #691616
split-complementary
#406916 #161669 #691669
monochromatic
#0F1905 #21360B #406916 #5F9C21 #7ECE2B

Accessibility & contrast

On white

6.46
#406916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#406916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406916
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406916#FFFFFF#000000##FFFFFF
##4069161.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6005
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#416459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #406916;
/* rgb */ color: rgb(64, 105, 22);
/* oklch */ color: oklch(47.3% 0.120 132.7);
Tailwind
colors: {
  custom: {
    50: '#79945a',
    500: '#406916',
    950: '#000000',
  },
}
SCSS
$custom: #406916;
$custom-light: #79945a;
$custom-dark: #000000;
JSON
{
  "hex": "#406916",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 89.639,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47311,
    "c": 0.11952,
    "h": 132.7
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#406916
secondary
#6D3B9F
accent
#3FE893
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406916

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

Preview Lab → · Contrast checker → · Palette generator →

#406916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva