#408016#408016

#408016 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.7% C 0.150 H 136.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#408016
RGBrgb(64, 128, 22)
HSLhsl(96, 71%, 29%)
HSVhsv(96, 83%, 50%)
CMYKcmyk(50%, 0%, 82.8%, 49.8%)
CIE-LABlab(47.73, -38.84, 46.69)
CIE-LCHlch(47.73, 60.74, 129.76°)
OKLaboklab(53.65% -0.1082 0.1032)
OKLCHoklch(53.65% 0.15 136.4)
XYZxyz(9.9781, 16.5856, 3.4345)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408016 #561680
analogous
#758016 #408016 #168021
triadic
#408016 #164080 #801640
tetradic
#408016 #167580 #561680 #802116
square
#408016 #167580 #561680 #802116
split-complementary
#408016 #211680 #801675
monochromatic
#0D1A04 #264C0D #408016 #5AB41F #77DC34

Accessibility & contrast

On white

4.86
#408016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#408016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408016
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408016#FFFFFF#000000##FFFFFF
##4080161.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#3D7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #408016;
/* rgb */ color: rgb(64, 128, 22);
/* oklch */ color: oklch(53.7% 0.150 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ca55e',
    500: '#408016',
    950: '#000000',
  },
}
SCSS
$custom: #408016;
$custom-light: #7ca55e;
$custom-dark: #000000;
JSON
{
  "hex": "#408016",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 96.226,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53653,
    "c": 0.14957,
    "h": 136.4
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#408016
secondary
#853DB5
accent
#3AEDA6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #408016

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

Preview Lab → · Contrast checker → · Palette generator →

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