#408716#408716

#408716 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.6% C 0.158 H 137.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#408716
RGBrgb(64, 135, 22)
HSLhsl(98, 72%, 31%)
HSVhsv(98, 84%, 53%)
CMYKcmyk(52.6%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.07, -41.68, 48.84)
CIE-LCHlch(50.07, 64.21, 130.48°)
OKLaboklab(55.57% -0.1158 0.1077)
OKLCHoklch(55.57% 0.158 137.1)
XYZxyz(10.9228, 18.4751, 3.7494)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408716 #5D1687
analogous
#788716 #408716 #168724
triadic
#408716 #164087 #871640
tetradic
#408716 #167887 #5D1687 #872416
square
#408716 #167887 #5D1687 #872416
split-complementary
#408716 #241687 #871678
monochromatic
#0E1E05 #27520D #408716 #59BC1F #76DF39

Accessibility & contrast

On white

4.47
#408716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#408716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408716
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408716#FFFFFF#000000##000000
##4087161.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#3B8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #408716;
/* rgb */ color: rgb(64, 135, 22);
/* oklch */ color: oklch(55.6% 0.158 137.1);
Tailwind
colors: {
  custom: {
    50: '#7dab5f',
    500: '#408716',
    950: '#000000',
  },
}
SCSS
$custom: #408716;
$custom-light: #7dab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#408716",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 97.699,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.1582,
    "h": 137.1
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#408716
secondary
#8C3EBB
accent
#39EFAB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408716

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

Preview Lab → · Contrast checker → · Palette generator →

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