#418816#418816

#418816 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 55.9% C 0.159 H 137.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#418816
RGBrgb(65, 136, 22)
HSLhsl(97, 72%, 31%)
HSVhsv(97, 84%, 53%)
CMYKcmyk(52.2%, 0%, 83.8%, 46.7%)
CIE-LABlab(50.44, -41.77, 49.20)
CIE-LCHlch(50.44, 64.54, 130.33°)
OKLaboklab(55.89% -0.1161 0.1085)
OKLCHoklch(55.89% 0.159 137)
XYZxyz(11.1286, 18.7893, 3.7992)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418816 #5D1688
analogous
#7A8816 #418816 #168824
triadic
#418816 #164188 #881641
tetradic
#418816 #167A88 #5D1688 #882416
square
#418816 #167A88 #5D1688 #882416
split-complementary
#418816 #241688 #88167A
monochromatic
#0F1F05 #28530D #418816 #5ABD1F #78DF39

Accessibility & contrast

On white

4.41
#418816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#418816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418816
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418816#FFFFFF#000000##000000
##4188161.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#3D8373
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #418816;
/* rgb */ color: rgb(65, 136, 22);
/* oklch */ color: oklch(55.9% 0.159 137.0);
Tailwind
colors: {
  custom: {
    50: '#7eab5f',
    500: '#418816',
    950: '#000000',
  },
}
SCSS
$custom: #418816;
$custom-light: #7eab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418816",
  "rgb": {
    "r": 65,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 97.368,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.15892,
    "h": 137
  },
  "luminance": 0.1879
}

Semantic roles & 50–950 ramp

primary
#418816
secondary
#8C3EBC
accent
#39EFAA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418816

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

Preview Lab → · Contrast checker → · Palette generator →

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