#408A13#408A13

#408A13 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#408A13
RGBrgb(64, 138, 19)
HSLhsl(97, 76%, 31%)
HSVhsv(97, 86%, 54%)
CMYKcmyk(53.6%, 0%, 86.2%, 45.9%)
CIE-LABlab(51.05, -43.01, 50.55)
CIE-LCHlch(51.05, 66.37, 130.39°)
OKLaboklab(56.38% -0.1196 0.1109)
OKLCHoklch(56.38% 0.163 137.2)
XYZxyz(11.3200, 19.3131, 3.7473)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A13 #5D138A
analogous
#7B8A13 #408A13 #138A21
triadic
#408A13 #13408A #8A1340
tetradic
#408A13 #137B8A #5D138A #8A2113
square
#408A13 #137B8A #5D138A #8A2113
split-complementary
#408A13 #21138A #8A137B
monochromatic
#0E1E04 #27540C #408A13 #59C01A #76E334

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408A13#FFFFFF#000000##000000
##408A131.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: #408a13;
/* rgb */ color: rgb(64, 138, 19);
/* oklch */ color: oklch(56.4% 0.163 137.2);
Tailwind
colors: {
  custom: {
    50: '#7dad5e',
    500: '#408a13',
    950: '#000000',
  },
}
SCSS
$custom: #408a13;
$custom-light: #7dad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#408a13",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 97.311,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.16307,
    "h": 137.2
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#408A13
secondary
#8C3ABE
accent
#35F2AB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #408A13

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

Preview Lab → · Contrast checker → · Palette generator →

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