#406712#406712

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

Color values

HEX#406712
RGBrgb(64, 103, 18)
HSLhsl(88, 70%, 24%)
HSVhsv(88, 83%, 40%)
CMYKcmyk(37.9%, 0%, 82.5%, 59.6%)
CIE-LABlab(39.30, -28.04, 40.13)
CIE-LCHlch(39.30, 48.96, 124.94°)
OKLaboklab(46.73% -0.0794 0.0888)
OKLCHoklch(46.73% 0.119 131.8)
XYZxyz(7.0737, 10.8339, 2.2906)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406712 #391267
analogous
#676312 #406712 #166712
triadic
#406712 #124067 #671240
tetradic
#406712 #126763 #391267 #671216
square
#406712 #126763 #391267 #671216
split-complementary
#406712 #121667 #631267
monochromatic
#101A05 #203309 #406712 #609B1B #81CF24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406712#FFFFFF#000000##FFFFFF
##4067121.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)
#665C1B
Tritanopia (blue-blind)
#416257
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406712;
/* rgb */ color: rgb(64, 103, 18);
/* oklch */ color: oklch(46.7% 0.119 131.8);
Tailwind
colors: {
  custom: {
    50: '#799258',
    500: '#406712',
    950: '#000000',
  },
}
SCSS
$custom: #406712;
$custom-light: #799258;
$custom-dark: #000000;
JSON
{
  "hex": "#406712",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 87.529,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.11916,
    "h": 131.8
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#406712
secondary
#66369F
accent
#3BED8D
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406712

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

Preview Lab → · Contrast checker → · Palette generator →

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