#417D15#417D15

#417D15 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.146 H 135.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#417D15
RGBrgb(65, 125, 21)
HSLhsl(95, 71%, 29%)
HSVhsv(95, 83%, 49%)
CMYKcmyk(48%, 0%, 83.2%, 51%)
CIE-LABlab(46.77, -37.31, 46.13)
CIE-LCHlch(46.77, 59.33, 128.97°)
OKLaboklab(52.87% -0.1042 0.1019)
OKLCHoklch(52.87% 0.146 135.7)
XYZxyz(9.6487, 15.8446, 3.2592)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D15 #51157D
analogous
#757D15 #417D15 #157D1D
triadic
#417D15 #15417D #7D1541
tetradic
#417D15 #15757D #51157D #7D1D15
square
#417D15 #15757D #51157D #7D1D15
split-complementary
#417D15 #1D157D #7D1575
monochromatic
#0E1A04 #26490C #417D15 #5CB11E #79DC30

Accessibility & contrast

On white

5.04
#417D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#417D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D15
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D15#FFFFFF#000000##FFFFFF
##417D151.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#3F786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d15;
/* rgb */ color: rgb(65, 125, 21);
/* oklch */ color: oklch(52.9% 0.146 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ca35d',
    500: '#417d15',
    950: '#000000',
  },
}
SCSS
$custom: #417d15;
$custom-light: #7ca35d;
$custom-dark: #000000;
JSON
{
  "hex": "#417d15",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 94.615,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.14575,
    "h": 135.7
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#417D15
secondary
#803CB2
accent
#3AEEA2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417D15

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

Preview Lab → · Contrast checker → · Palette generator →

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