#408A19#408A19

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

Color values

HEX#408A19
RGBrgb(64, 138, 25)
HSLhsl(99, 69%, 32%)
HSVhsv(99, 82%, 54%)
CMYKcmyk(53.6%, 0%, 81.9%, 45.9%)
CIE-LABlab(51.08, -42.71, 48.88)
CIE-LCHlch(51.08, 64.91, 131.15°)
OKLaboklab(56.41% -0.1184 0.1083)
OKLCHoklch(56.41% 0.16 137.6)
XYZxyz(11.3779, 19.3363, 4.0522)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A19 #63198A
analogous
#798A19 #408A19 #198A2B
triadic
#408A19 #19408A #8A1940
tetradic
#408A19 #19798A #63198A #8A2B19
square
#408A19 #19798A #63198A #8A2B19
split-complementary
#408A19 #2B198A #8A1979
monochromatic
#102206 #285610 #408A19 #58BE22 #77DD41

Accessibility & contrast

On white

4.31
#408A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#408A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A19
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A19#FFFFFF#000000##000000
##408A191.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408a19;
/* rgb */ color: rgb(64, 138, 25);
/* oklch */ color: oklch(56.4% 0.160 137.6);
Tailwind
colors: {
  custom: {
    50: '#7dad60',
    500: '#408a19',
    950: '#000000',
  },
}
SCSS
$custom: #408a19;
$custom-light: #7dad60;
$custom-dark: #000000;
JSON
{
  "hex": "#408a19",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 99.292,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56412,
    "c": 0.16046,
    "h": 137.6
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#408A19
secondary
#9342BD
accent
#3CECAF
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #408A19

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

Preview Lab → · Contrast checker → · Palette generator →

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