#417E15#417E15

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

Color values

HEX#417E15
RGBrgb(65, 126, 21)
HSLhsl(95, 71%, 29%)
HSVhsv(95, 83%, 49%)
CMYKcmyk(48.4%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.10, -37.73, 46.43)
CIE-LCHlch(47.10, 59.83, 129.10°)
OKLaboklab(53.15% -0.1054 0.1025)
OKLCHoklch(53.15% 0.147 135.8)
XYZxyz(9.7759, 16.0990, 3.3016)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E15 #52157E
analogous
#767E15 #417E15 #157E1D
triadic
#417E15 #15417E #7E1541
tetradic
#417E15 #15767E #52157E #7E1D15
square
#417E15 #15767E #52157E #7E1D15
split-complementary
#417E15 #1D157E #7E1576
monochromatic
#0E1A04 #264A0C #417E15 #5CB21E #79DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417E15#FFFFFF#000000##FFFFFF
##417E151.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)
#3F796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e15;
/* rgb */ color: rgb(65, 126, 21);
/* oklch */ color: oklch(53.1% 0.147 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ca45d',
    500: '#417e15',
    950: '#000000',
  },
}
SCSS
$custom: #417e15;
$custom-light: #7ca45d;
$custom-dark: #000000;
JSON
{
  "hex": "#417e15",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 94.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.14701,
    "h": 135.8
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#417E15
secondary
#813CB3
accent
#3AEEA3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417E15

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

Preview Lab → · Contrast checker → · Palette generator →

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