#406A14#406A14

#406A14 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.6% C 0.122 H 132.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#406A14
RGBrgb(64, 106, 20)
HSLhsl(89, 68%, 25%)
HSVhsv(89, 81%, 42%)
CMYKcmyk(39.6%, 0%, 81.1%, 58.4%)
CIE-LABlab(40.33, -29.33, 40.41)
CIE-LCHlch(40.33, 49.93, 125.98°)
OKLaboklab(47.57% -0.0828 0.0897)
OKLCHoklch(47.57% 0.122 132.7)
XYZxyz(7.3946, 11.4482, 2.4818)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406A14 #3E146A
analogous
#6A6914 #406A14 #156A14
triadic
#406A14 #14406A #6A1440
tetradic
#406A14 #146A69 #3E146A #6A1415
square
#406A14 #146A69 #3E146A #6A1415
split-complementary
#406A14 #14156A #69146A
monochromatic
#101A05 #21370A #406A14 #5F9D1E #7ED127

Accessibility & contrast

On white

6.38
#406A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#406A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406A14
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406A14#FFFFFF#000000##FFFFFF
##406A141.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6101
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#40655A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #406a14;
/* rgb */ color: rgb(64, 106, 20);
/* oklch */ color: oklch(47.6% 0.122 132.7);
Tailwind
colors: {
  custom: {
    50: '#799559',
    500: '#406a14',
    950: '#000000',
  },
}
SCSS
$custom: #406a14;
$custom-light: #799559;
$custom-dark: #000000;
JSON
{
  "hex": "#406a14",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 89.302,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.12207,
    "h": 132.7
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#406A14
secondary
#6C39A1
accent
#3DEB92
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406A14

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

Preview Lab → · Contrast checker → · Palette generator →

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