#408516#408516

#408516 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.0% C 0.156 H 136.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#408516
RGBrgb(64, 133, 22)
HSLhsl(97, 72%, 30%)
HSVhsv(97, 83%, 52%)
CMYKcmyk(51.9%, 0%, 83.5%, 47.8%)
CIE-LABlab(49.40, -40.88, 48.23)
CIE-LCHlch(49.40, 63.23, 130.28°)
OKLaboklab(55.03% -0.1137 0.1065)
OKLCHoklch(55.03% 0.156 136.9)
XYZxyz(10.6464, 17.9222, 3.6572)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408516 #5B1685
analogous
#778516 #408516 #168523
triadic
#408516 #164085 #851640
tetradic
#408516 #167785 #5B1685 #852316
square
#408516 #167785 #5B1685 #852316
split-complementary
#408516 #231685 #851677
monochromatic
#0D1C05 #27500D #408516 #59BA1F #76DE37

Accessibility & contrast

On white

4.58
#408516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#408516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408516
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408516#FFFFFF#000000##000000
##4085161.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#3C8071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #408516;
/* rgb */ color: rgb(64, 133, 22);
/* oklch */ color: oklch(55.0% 0.156 136.9);
Tailwind
colors: {
  custom: {
    50: '#7da95e',
    500: '#408516',
    950: '#000000',
  },
}
SCSS
$custom: #408516;
$custom-light: #7da95e;
$custom-dark: #000000;
JSON
{
  "hex": "#408516",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 97.297,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.15575,
    "h": 136.9
  },
  "luminance": 0.17923
}

Semantic roles & 50–950 ramp

primary
#408516
secondary
#8A3EB9
accent
#39EEAA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408516

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

Preview Lab → · Contrast checker → · Palette generator →

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