#417E16#417E16

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

Color values

HEX#417E16
RGBrgb(65, 126, 22)
HSLhsl(95, 70%, 29%)
HSVhsv(95, 83%, 49%)
CMYKcmyk(48.4%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.11, -37.68, 46.13)
CIE-LCHlch(47.11, 59.56, 129.24°)
OKLaboklab(53.15% -0.1052 0.102)
OKLCHoklch(53.15% 0.147 135.9)
XYZxyz(9.7854, 16.1028, 3.3514)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E16 #53167E
analogous
#757E16 #417E16 #167E1F
triadic
#417E16 #16417E #7E1641
tetradic
#417E16 #16757E #53167E #7E1F16
square
#417E16 #16757E #53167E #7E1F16
split-complementary
#417E16 #1F167E #7E1675
monochromatic
#0D1A05 #264A0D #417E16 #5CB21F #79DB33

Accessibility & contrast

On white

4.98
#417E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417E16
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E16#FFFFFF#000000##FFFFFF
##417E161.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417e16;
/* rgb */ color: rgb(65, 126, 22);
/* oklch */ color: oklch(53.2% 0.147 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ca45d',
    500: '#417e16',
    950: '#000000',
  },
}
SCSS
$custom: #417e16;
$custom-light: #7ca45d;
$custom-dark: #000000;
JSON
{
  "hex": "#417e16",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 95.192,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.14653,
    "h": 135.9
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#417E16
secondary
#823DB3
accent
#3BEDA3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417E16

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

Preview Lab → · Contrast checker → · Palette generator →

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