#406716#406716

#406716 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.8% C 0.117 H 132.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#406716
RGBrgb(64, 103, 22)
HSLhsl(89, 65%, 25%)
HSVhsv(89, 79%, 40%)
CMYKcmyk(37.9%, 0%, 78.6%, 59.6%)
CIE-LABlab(39.32, -27.79, 38.71)
CIE-LCHlch(39.32, 47.65, 125.68°)
OKLaboklab(46.76% -0.0785 0.0865)
OKLCHoklch(46.76% 0.117 132.2)
XYZxyz(7.1093, 10.8481, 2.4782)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406716 #3D1667
analogous
#676616 #406716 #186716
triadic
#406716 #164067 #671640
tetradic
#406716 #166766 #3D1667 #671618
square
#406716 #166766 #3D1667 #671618
split-complementary
#406716 #161867 #661667
monochromatic
#101905 #21350B #406716 #5F9921 #7FCC2C

Accessibility & contrast

On white

6.63
#406716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#406716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406716
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406716#FFFFFF#000000##FFFFFF
##4067161.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F06
Deuteranopia (green-blind)
#665C1E
Tritanopia (blue-blind)
#416258
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406716;
/* rgb */ color: rgb(64, 103, 22);
/* oklch */ color: oklch(46.8% 0.117 132.2);
Tailwind
colors: {
  custom: {
    50: '#79925a',
    500: '#406716',
    950: '#000000',
  },
}
SCSS
$custom: #406716;
$custom-light: #79925a;
$custom-dark: #000000;
JSON
{
  "hex": "#406716",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 88.889,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46758,
    "c": 0.11678,
    "h": 132.2
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#406716
secondary
#6B3B9E
accent
#40E891
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406716

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

Preview Lab → · Contrast checker → · Palette generator →

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