#417D17#417D17

#417D17 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.145 H 135.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#417D17
RGBrgb(65, 125, 23)
HSLhsl(95, 69%, 29%)
HSVhsv(95, 82%, 49%)
CMYKcmyk(48%, 0%, 81.6%, 51%)
CIE-LABlab(46.78, -37.20, 45.50)
CIE-LCHlch(46.78, 58.78, 129.27°)
OKLaboklab(52.88% -0.1038 0.1009)
OKLCHoklch(52.88% 0.145 135.8)
XYZxyz(9.6680, 15.8523, 3.3608)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D17 #53177D
analogous
#747D17 #417D17 #177D20
triadic
#417D17 #17417D #7D1741
tetradic
#417D17 #17747D #53177D #7D2017
square
#417D17 #17747D #53177D #7D2017
split-complementary
#417D17 #20177D #7D1774
monochromatic
#0D1A05 #26490D #417D17 #5CB121 #79DA35

Accessibility & contrast

On white

5.04
#417D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#417D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D17
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D17#FFFFFF#000000##FFFFFF
##417D171.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#3F786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d17;
/* rgb */ color: rgb(65, 125, 23);
/* oklch */ color: oklch(52.9% 0.145 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ca35d',
    500: '#417d17',
    950: '#000000',
  },
}
SCSS
$custom: #417d17;
$custom-light: #7ca35d;
$custom-dark: #000000;
JSON
{
  "hex": "#417d17",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 95.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.14476,
    "h": 135.8
  },
  "luminance": 0.15853
}

Semantic roles & 50–950 ramp

primary
#417D17
secondary
#823EB2
accent
#3CECA3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417D17

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

Preview Lab → · Contrast checker → · Palette generator →

#417D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva