#417D11#417D11

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

Color values

HEX#417D11
RGBrgb(65, 125, 17)
HSLhsl(93, 76%, 28%)
HSVhsv(93, 86%, 49%)
CMYKcmyk(48%, 0%, 86.4%, 51%)
CIE-LABlab(46.75, -37.51, 47.26)
CIE-LCHlch(46.75, 60.34, 128.44°)
OKLaboklab(52.85% -0.105 0.1036)
OKLCHoklch(52.85% 0.148 135.4)
XYZxyz(9.6145, 15.8309, 3.0793)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D11 #4D117D
analogous
#777D11 #417D11 #117D17
triadic
#417D11 #11417D #7D1141
tetradic
#417D11 #11777D #4D117D #7D1711
square
#417D11 #11777D #4D117D #7D1711
split-complementary
#417D11 #17117D #7D1177
monochromatic
#0E1B04 #25470A #417D11 #5DB318 #7AE227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417D11#FFFFFF#000000##FFFFFF
##417D111.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)
#7A6D1F
Tritanopia (blue-blind)
#3F786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d11;
/* rgb */ color: rgb(65, 125, 17);
/* oklch */ color: oklch(52.9% 0.148 135.4);
Tailwind
colors: {
  custom: {
    50: '#7ca35b',
    500: '#417d11',
    950: '#000000',
  },
}
SCSS
$custom: #417d11;
$custom-light: #7ca35b;
$custom-dark: #000000;
JSON
{
  "hex": "#417d11",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 17
  },
  "hsl": {
    "h": 93.333,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.14753,
    "h": 135.4
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#417D11
secondary
#7C37B3
accent
#35F39E
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417D11

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

Preview Lab → · Contrast checker → · Palette generator →

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