#408916#408916

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

Color values

HEX#408916
RGBrgb(64, 137, 22)
HSLhsl(98, 72%, 31%)
HSVhsv(98, 84%, 54%)
CMYKcmyk(53.3%, 0%, 83.9%, 46.3%)
CIE-LABlab(50.73, -42.48, 49.45)
CIE-LCHlch(50.73, 65.19, 130.66°)
OKLaboklab(56.12% -0.118 0.109)
OKLCHoklch(56.12% 0.161 137.3)
XYZxyz(11.2045, 19.0384, 3.8433)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408916 #5F1689
analogous
#798916 #408916 #168925
triadic
#408916 #164089 #891640
tetradic
#408916 #167989 #5F1689 #892516
square
#408916 #167989 #5F1689 #892516
split-complementary
#408916 #251689 #891679
monochromatic
#0F2005 #27540E #408916 #59BE1E #76DF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408916#FFFFFF#000000##000000
##4089161.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)
#847724
Tritanopia (blue-blind)
#3B8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #408916;
/* rgb */ color: rgb(64, 137, 22);
/* oklch */ color: oklch(56.1% 0.161 137.3);
Tailwind
colors: {
  custom: {
    50: '#7dac5f',
    500: '#408916',
    950: '#000000',
  },
}
SCSS
$custom: #408916;
$custom-light: #7dac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#408916",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 98.087,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.16062,
    "h": 137.3
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#408916
secondary
#8F3EBD
accent
#39EFAC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408916

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

Preview Lab → · Contrast checker → · Palette generator →

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