#408919#408919

#408919 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.1% C 0.159 H 137.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#408919
RGBrgb(64, 137, 25)
HSLhsl(99, 69%, 32%)
HSVhsv(99, 82%, 54%)
CMYKcmyk(53.3%, 0%, 81.8%, 46.3%)
CIE-LABlab(50.75, -42.31, 48.57)
CIE-LCHlch(50.75, 64.42, 131.06°)
OKLaboklab(56.14% -0.1174 0.1076)
OKLCHoklch(56.14% 0.159 137.5)
XYZxyz(11.2351, 19.0507, 4.0046)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408919 #621989
analogous
#788919 #408919 #19892A
triadic
#408919 #194089 #891940
tetradic
#408919 #197889 #621989 #892A19
square
#408919 #197889 #621989 #892A19
split-complementary
#408919 #2A1989 #891978
monochromatic
#102106 #285510 #408919 #58BD22 #77DC40

Accessibility & contrast

On white

4.37
#408919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#408919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408919
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408919#FFFFFF#000000##000000
##4089191.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847726
Tritanopia (blue-blind)
#3B8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #408919;
/* rgb */ color: rgb(64, 137, 25);
/* oklch */ color: oklch(56.1% 0.159 137.5);
Tailwind
colors: {
  custom: {
    50: '#7dac60',
    500: '#408919',
    950: '#000000',
  },
}
SCSS
$custom: #408919;
$custom-light: #7dac60;
$custom-dark: #000000;
JSON
{
  "hex": "#408919",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 99.107,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.15924,
    "h": 137.5
  },
  "luminance": 0.19051
}

Semantic roles & 50–950 ramp

primary
#408919
secondary
#9241BC
accent
#3CECAF
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408919

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

Preview Lab → · Contrast checker → · Palette generator →

#408919 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva