#406710#406710

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

Color values

HEX#406710
RGBrgb(64, 103, 16)
HSLhsl(87, 73%, 23%)
HSVhsv(87, 84%, 40%)
CMYKcmyk(37.9%, 0%, 84.5%, 59.6%)
CIE-LABlab(39.29, -28.15, 40.78)
CIE-LCHlch(39.29, 49.56, 124.62°)
OKLaboklab(46.72% -0.0799 0.0898)
OKLCHoklch(46.72% 0.12 131.6)
XYZxyz(7.0581, 10.8276, 2.2082)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406710 #371067
analogous
#676210 #406710 #146710
triadic
#406710 #104067 #671040
tetradic
#406710 #106762 #371067 #671014
square
#406710 #106762 #371067 #671014
split-complementary
#406710 #101467 #621067
monochromatic
#101A04 #1F3208 #406710 #619C18 #82D120

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406710#FFFFFF#000000##FFFFFF
##4067101.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)
#675C1A
Tritanopia (blue-blind)
#416257
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406710;
/* rgb */ color: rgb(64, 103, 16);
/* oklch */ color: oklch(46.7% 0.120 131.6);
Tailwind
colors: {
  custom: {
    50: '#799257',
    500: '#406710',
    950: '#000000',
  },
}
SCSS
$custom: #406710;
$custom-light: #799257;
$custom-dark: #000000;
JSON
{
  "hex": "#406710",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 86.897,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46719,
    "c": 0.12022,
    "h": 131.6
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#406710
secondary
#64339F
accent
#38F08A
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #406710

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

Preview Lab → · Contrast checker → · Palette generator →

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