#406713#406713

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

Color values

HEX#406713
RGBrgb(64, 103, 19)
HSLhsl(88, 69%, 24%)
HSVhsv(88, 82%, 40%)
CMYKcmyk(37.9%, 0%, 81.6%, 59.6%)
CIE-LABlab(39.30, -27.98, 39.79)
CIE-LCHlch(39.30, 48.65, 125.12°)
OKLaboklab(46.74% -0.0792 0.0883)
OKLCHoklch(46.74% 0.119 131.9)
XYZxyz(7.0821, 10.8372, 2.3346)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406713 #3A1367
analogous
#676413 #406713 #166713
triadic
#406713 #134067 #671340
tetradic
#406713 #136764 #3A1367 #671316
square
#406713 #136764 #3A1367 #671316
split-complementary
#406713 #131667 #641367
monochromatic
#101A05 #203309 #406713 #609B1D #80CE26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #406713;
/* rgb */ color: rgb(64, 103, 19);
/* oklch */ color: oklch(46.7% 0.119 131.9);
Tailwind
colors: {
  custom: {
    50: '#799258',
    500: '#406713',
    950: '#000000',
  },
}
SCSS
$custom: #406713;
$custom-light: #799258;
$custom-dark: #000000;
JSON
{
  "hex": "#406713",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 87.857,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.11859,
    "h": 131.9
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#406713
secondary
#67379E
accent
#3CEC8E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406713

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

Preview Lab → · Contrast checker → · Palette generator →

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