#417E17#417E17

#417E17 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.146 H 136.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#417E17
RGBrgb(65, 126, 23)
HSLhsl(96, 69%, 29%)
HSVhsv(96, 82%, 49%)
CMYKcmyk(48.4%, 0%, 81.7%, 50.6%)
CIE-LABlab(47.11, -37.62, 45.82)
CIE-LCHlch(47.11, 59.29, 129.39°)
OKLaboklab(53.16% -0.105 0.1015)
OKLCHoklch(53.16% 0.146 136)
XYZxyz(9.7952, 16.1068, 3.4032)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E17 #54177E
analogous
#757E17 #417E17 #177E21
triadic
#417E17 #17417E #7E1741
tetradic
#417E17 #17757E #54177E #7E2117
square
#417E17 #17757E #54177E #7E2117
split-complementary
#417E17 #21177E #7E1775
monochromatic
#0D1A05 #264A0E #417E17 #5CB220 #78DA35

Accessibility & contrast

On white

4.97
#417E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#417E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417E17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E17#FFFFFF#000000##FFFFFF
##417E171.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#3E796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e17;
/* rgb */ color: rgb(65, 126, 23);
/* oklch */ color: oklch(53.2% 0.146 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ca45e',
    500: '#417e17',
    950: '#000000',
  },
}
SCSS
$custom: #417e17;
$custom-light: #7ca45e;
$custom-dark: #000000;
JSON
{
  "hex": "#417e17",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 95.534,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.14603,
    "h": 136
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#417E17
secondary
#833EB3
accent
#3CECA4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417E17

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

Preview Lab → · Contrast checker → · Palette generator →

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