#408A14#408A14

#408A14 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.4% C 0.163 H 137.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#408A14
RGBrgb(64, 138, 20)
HSLhsl(98, 75%, 31%)
HSVhsv(98, 86%, 54%)
CMYKcmyk(53.6%, 0%, 85.5%, 45.9%)
CIE-LABlab(51.06, -42.97, 50.29)
CIE-LCHlch(51.06, 66.15, 130.51°)
OKLaboklab(56.39% -0.1194 0.1105)
OKLCHoklch(56.39% 0.163 137.2)
XYZxyz(11.3287, 19.3166, 3.7932)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A14 #5E148A
analogous
#7B8A14 #408A14 #148A23
triadic
#408A14 #14408A #8A1440
tetradic
#408A14 #147B8A #5E148A #8A2314
square
#408A14 #147B8A #5E148A #8A2314
split-complementary
#408A14 #23148A #8A147B
monochromatic
#0E1F05 #27550C #408A14 #59BF1C #76E236

Accessibility & contrast

On white

4.32
#408A14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#408A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A14
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A14#FFFFFF#000000##000000
##408A141.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#3B8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408a14;
/* rgb */ color: rgb(64, 138, 20);
/* oklch */ color: oklch(56.4% 0.163 137.2);
Tailwind
colors: {
  custom: {
    50: '#7dad5e',
    500: '#408a14',
    950: '#000000',
  },
}
SCSS
$custom: #408a14;
$custom-light: #7dad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#408a14",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 20
  },
  "hsl": {
    "h": 97.627,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56386,
    "c": 0.16267,
    "h": 137.2
  },
  "luminance": 0.19317
}

Semantic roles & 50–950 ramp

primary
#408A14
secondary
#8D3CBE
accent
#36F1AC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #408A14

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

Preview Lab → · Contrast checker → · Palette generator →

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