#417A17#417A17

#417A17 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.141 H 135.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#417A17
RGBrgb(65, 122, 23)
HSLhsl(95, 68%, 28%)
HSVhsv(95, 81%, 48%)
CMYKcmyk(46.7%, 0%, 81.1%, 52.2%)
CIE-LABlab(45.78, -35.93, 44.56)
CIE-LCHlch(45.78, 57.24, 128.88°)
OKLaboklab(52.06% -0.1004 0.0989)
OKLCHoklch(52.06% 0.141 135.4)
XYZxyz(9.2939, 15.1042, 3.2361)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A17 #50177A
analogous
#727A17 #417A17 #177A1E
triadic
#417A17 #17417A #7A1741
tetradic
#417A17 #17727A #50177A #7A1E17
square
#417A17 #17727A #50177A #7A1E17
split-complementary
#417A17 #1E177A #7A1772
monochromatic
#0E1A05 #26470D #417A17 #5CAD21 #79D933

Accessibility & contrast

On white

5.22
#417A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#417A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A17
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A17#FFFFFF#000000##FFFFFF
##417A171.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#3F7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417a17;
/* rgb */ color: rgb(65, 122, 23);
/* oklch */ color: oklch(52.1% 0.141 135.4);
Tailwind
colors: {
  custom: {
    50: '#7ca15d',
    500: '#417a17',
    950: '#000000',
  },
}
SCSS
$custom: #417a17;
$custom-light: #7ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#417a17",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 94.545,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.14093,
    "h": 135.4
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#417A17
secondary
#7F3EAF
accent
#3DEBA1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #417A17

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

Preview Lab → · Contrast checker → · Palette generator →

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