#417F15#417F15

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

Color values

HEX#417F15
RGBrgb(65, 127, 21)
HSLhsl(95, 72%, 29%)
HSVhsv(95, 83%, 50%)
CMYKcmyk(48.8%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.44, -38.15, 46.74)
CIE-LCHlch(47.44, 60.34, 129.22°)
OKLaboklab(53.42% -0.1065 0.1032)
OKLCHoklch(53.42% 0.148 135.9)
XYZxyz(9.9044, 16.3561, 3.3445)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F15 #53157F
analogous
#767F15 #417F15 #157F1E
triadic
#417F15 #15417F #7F1541
tetradic
#417F15 #15767F #53157F #7F1E15
square
#417F15 #15767F #53157F #7F1E15
split-complementary
#417F15 #1E157F #7F1576
monochromatic
#0D1A04 #264A0C #417F15 #5CB41E #79DD31

Accessibility & contrast

On white

4.92
#417F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417F15
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F15#FFFFFF#000000##FFFFFF
##417F151.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417f15;
/* rgb */ color: rgb(65, 127, 21);
/* oklch */ color: oklch(53.4% 0.148 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ca55d',
    500: '#417f15',
    950: '#000000',
  },
}
SCSS
$custom: #417f15;
$custom-light: #7ca55d;
$custom-dark: #000000;
JSON
{
  "hex": "#417f15",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 95.094,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53421,
    "c": 0.14826,
    "h": 135.9
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#417F15
secondary
#823CB4
accent
#39EEA3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417F15

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

Preview Lab → · Contrast checker → · Palette generator →

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