#418216#418216

#418216 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.152 H 136.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#418216
RGBrgb(65, 130, 22)
HSLhsl(96, 71%, 30%)
HSVhsv(96, 83%, 51%)
CMYKcmyk(50%, 0%, 83.1%, 49%)
CIE-LABlab(48.44, -39.34, 47.37)
CIE-LCHlch(48.44, 61.57, 129.71°)
OKLaboklab(54.25% -0.1096 0.1046)
OKLCHoklch(54.25% 0.152 136.3)
XYZxyz(10.3071, 17.1463, 3.5253)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418216 #571682
analogous
#778216 #418216 #168221
triadic
#418216 #164182 #821641
tetradic
#418216 #167782 #571682 #822116
square
#418216 #167782 #571682 #822116
split-complementary
#418216 #211682 #821677
monochromatic
#0D1A04 #274E0D #418216 #5BB61F #78DD35

Accessibility & contrast

On white

4.74
#418216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#418216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418216
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418216#FFFFFF#000000##FFFFFF
##4182161.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#3E7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #418216;
/* rgb */ color: rgb(65, 130, 22);
/* oklch */ color: oklch(54.2% 0.152 136.3);
Tailwind
colors: {
  custom: {
    50: '#7da75e',
    500: '#418216',
    950: '#000000',
  },
}
SCSS
$custom: #418216;
$custom-light: #7da75e;
$custom-dark: #000000;
JSON
{
  "hex": "#418216",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 96.111,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.15154,
    "h": 136.3
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

primary
#418216
secondary
#863DB7
accent
#3AEEA6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418216

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

Preview Lab → · Contrast checker → · Palette generator →

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