#406711#406711

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

Color values

HEX#406711
RGBrgb(64, 103, 17)
HSLhsl(87, 72%, 24%)
HSVhsv(87, 83%, 40%)
CMYKcmyk(37.9%, 0%, 83.5%, 59.6%)
CIE-LABlab(39.29, -28.10, 40.46)
CIE-LCHlch(39.29, 49.26, 124.78°)
OKLaboklab(46.73% -0.0797 0.0893)
OKLCHoklch(46.73% 0.12 131.7)
XYZxyz(7.0657, 10.8307, 2.2484)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406711 #381167
analogous
#676311 #406711 #156711
triadic
#406711 #114067 #671140
tetradic
#406711 #116763 #381167 #671115
square
#406711 #116763 #381167 #671115
split-complementary
#406711 #111567 #631167
monochromatic
#101A04 #1F3208 #406711 #619C1A #81D022

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406711#FFFFFF#000000##FFFFFF
##4067111.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)
#6C5E00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#416257
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406711;
/* rgb */ color: rgb(64, 103, 17);
/* oklch */ color: oklch(46.7% 0.120 131.7);
Tailwind
colors: {
  custom: {
    50: '#799257',
    500: '#406711',
    950: '#000000',
  },
}
SCSS
$custom: #406711;
$custom-light: #799257;
$custom-dark: #000000;
JSON
{
  "hex": "#406711",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 87.209,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.11969,
    "h": 131.7
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#406711
secondary
#65359F
accent
#39EE8B
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #406711

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

Preview Lab → · Contrast checker → · Palette generator →

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