#406714#406714

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

Color values

HEX#406714
RGBrgb(64, 103, 20)
HSLhsl(88, 67%, 24%)
HSVhsv(88, 81%, 40%)
CMYKcmyk(37.9%, 0%, 80.6%, 59.6%)
CIE-LABlab(39.31, -27.92, 39.44)
CIE-LCHlch(39.31, 48.32, 125.30°)
OKLaboklab(46.74% -0.079 0.0877)
OKLCHoklch(46.74% 0.118 132)
XYZxyz(7.0908, 10.8407, 2.3805)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406714 #3B1467
analogous
#676514 #406714 #166714
triadic
#406714 #144067 #671440
tetradic
#406714 #146765 #3B1467 #671416
square
#406714 #146765 #3B1467 #671416
split-complementary
#406714 #141667 #651467
monochromatic
#101A05 #20340A #406714 #609A1E #80CD28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406714#FFFFFF#000000##FFFFFF
##4067141.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)
#6C5F02
Deuteranopia (green-blind)
#665C1D
Tritanopia (blue-blind)
#416257
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406714;
/* rgb */ color: rgb(64, 103, 20);
/* oklch */ color: oklch(46.7% 0.118 132.0);
Tailwind
colors: {
  custom: {
    50: '#799259',
    500: '#406714',
    950: '#000000',
  },
}
SCSS
$custom: #406714;
$custom-light: #799259;
$custom-dark: #000000;
JSON
{
  "hex": "#406714",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 88.193,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.11801,
    "h": 132
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#406714
secondary
#68399E
accent
#3DEA8F
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406714

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

Preview Lab → · Contrast checker → · Palette generator →

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