#408416#408416

#408416 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.8% C 0.155 H 136.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#408416
RGBrgb(64, 132, 22)
HSLhsl(97, 71%, 30%)
HSVhsv(97, 83%, 52%)
CMYKcmyk(51.5%, 0%, 83.3%, 48.2%)
CIE-LABlab(49.07, -40.48, 47.93)
CIE-LCHlch(49.07, 62.73, 130.18°)
OKLaboklab(54.75% -0.1126 0.1058)
OKLCHoklch(54.75% 0.155 136.8)
XYZxyz(10.5101, 17.6497, 3.6118)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408416 #5A1684
analogous
#778416 #408416 #168423
triadic
#408416 #164084 #841640
tetradic
#408416 #167784 #5A1684 #842316
square
#408416 #167784 #5A1684 #842316
split-complementary
#408416 #231684 #841677
monochromatic
#0D1B05 #27500D #408416 #59B81F #76DE37

Accessibility & contrast

On white

4.64
#408416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#408416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408416
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408416#FFFFFF#000000##FFFFFF
##4084161.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#3C7F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #408416;
/* rgb */ color: rgb(64, 132, 22);
/* oklch */ color: oklch(54.8% 0.155 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ca85e',
    500: '#408416',
    950: '#000000',
  },
}
SCSS
$custom: #408416;
$custom-light: #7ca85e;
$custom-dark: #000000;
JSON
{
  "hex": "#408416",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 97.091,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.15452,
    "h": 136.8
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#408416
secondary
#893DB8
accent
#3AEEA9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408416

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

Preview Lab → · Contrast checker → · Palette generator →

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