#408116#408116

#408116 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.151 H 136.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#408116
RGBrgb(64, 129, 22)
HSLhsl(96, 71%, 30%)
HSVhsv(96, 83%, 51%)
CMYKcmyk(50.4%, 0%, 82.9%, 49.4%)
CIE-LABlab(48.07, -39.26, 47.00)
CIE-LCHlch(48.07, 61.24, 129.87°)
OKLaboklab(53.93% -0.1093 0.1039)
OKLCHoklch(53.93% 0.151 136.5)
XYZxyz(10.1091, 16.8477, 3.4781)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408116 #571681
analogous
#758116 #408116 #168122
triadic
#408116 #164081 #811640
tetradic
#408116 #167581 #571681 #812216
square
#408116 #167581 #571681 #812216
split-complementary
#408116 #221681 #811675
monochromatic
#0D1A04 #264D0D #408116 #5AB51F #77DD35

Accessibility & contrast

On white

4.81
#408116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#408116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408116
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408116#FFFFFF#000000##FFFFFF
##4081161.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#3D7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408116;
/* rgb */ color: rgb(64, 129, 22);
/* oklch */ color: oklch(53.9% 0.151 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ca65e',
    500: '#408116',
    950: '#000000',
  },
}
SCSS
$custom: #408116;
$custom-light: #7ca65e;
$custom-dark: #000000;
JSON
{
  "hex": "#408116",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 96.449,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53928,
    "c": 0.15081,
    "h": 136.5
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#408116
secondary
#863DB6
accent
#3AEEA7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #408116

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

Preview Lab → · Contrast checker → · Palette generator →

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