#406E14#406E14

#406E14 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.7% C 0.127 H 133.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#406E14
RGBrgb(64, 110, 20)
HSLhsl(91, 69%, 25%)
HSVhsv(91, 82%, 43%)
CMYKcmyk(41.8%, 0%, 81.8%, 56.9%)
CIE-LABlab(41.68, -31.17, 41.68)
CIE-LCHlch(41.68, 52.05, 126.79°)
OKLaboklab(48.68% -0.0877 0.0924)
OKLCHoklch(48.68% 0.127 133.5)
XYZxyz(7.8164, 12.2920, 2.6224)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E14 #42146E
analogous
#6D6E14 #406E14 #146E15
triadic
#406E14 #14406E #6E1440
tetradic
#406E14 #146D6E #42146E #6E1514
square
#406E14 #146D6E #42146E #6E1514
split-complementary
#406E14 #15146E #6E146D
monochromatic
#0F1A05 #223A0B #406E14 #5EA21D #7CD627

Accessibility & contrast

On white

6.07
#406E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#406E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E14
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E14#FFFFFF#000000##FFFFFF
##406E141.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#40695D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406e14;
/* rgb */ color: rgb(64, 110, 20);
/* oklch */ color: oklch(48.7% 0.127 133.5);
Tailwind
colors: {
  custom: {
    50: '#7a985a',
    500: '#406e14',
    950: '#000000',
  },
}
SCSS
$custom: #406e14;
$custom-light: #7a985a;
$custom-dark: #000000;
JSON
{
  "hex": "#406e14",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 20
  },
  "hsl": {
    "h": 90.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.12742,
    "h": 133.5
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#406E14
secondary
#7039A5
accent
#3CEC96
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406E14

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

Preview Lab → · Contrast checker → · Palette generator →

#406E14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva