#417F17#417F17

#417F17 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.147 H 136.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#417F17
RGBrgb(65, 127, 23)
HSLhsl(96, 69%, 29%)
HSVhsv(96, 82%, 50%)
CMYKcmyk(48.8%, 0%, 81.9%, 50.2%)
CIE-LABlab(47.45, -38.04, 46.13)
CIE-LCHlch(47.45, 59.79, 129.51°)
OKLaboklab(53.43% -0.1061 0.1022)
OKLCHoklch(53.43% 0.147 136.1)
XYZxyz(9.9237, 16.3638, 3.4461)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F17 #55177F
analogous
#757F17 #417F17 #177F21
triadic
#417F17 #17417F #7F1741
tetradic
#417F17 #17757F #55177F #7F2117
square
#417F17 #17757F #55177F #7F2117
split-complementary
#417F17 #21177F #7F1775
monochromatic
#0D1A05 #264B0E #417F17 #5CB320 #78DB36

Accessibility & contrast

On white

4.91
#417F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#417F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417F17
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F17#FFFFFF#000000##FFFFFF
##417F171.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#3E7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f17;
/* rgb */ color: rgb(65, 127, 23);
/* oklch */ color: oklch(53.4% 0.147 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ca55e',
    500: '#417f17',
    950: '#000000',
  },
}
SCSS
$custom: #417f17;
$custom-light: #7ca55e;
$custom-dark: #000000;
JSON
{
  "hex": "#417f17",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 95.769,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53432,
    "c": 0.1473,
    "h": 136.1
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#417F17
secondary
#843EB4
accent
#3CECA5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417F17

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

Preview Lab → · Contrast checker → · Palette generator →

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