#417F11#417F11

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

Color values

HEX#417F11
RGBrgb(65, 127, 17)
HSLhsl(94, 76%, 28%)
HSVhsv(94, 87%, 50%)
CMYKcmyk(48.8%, 0%, 86.6%, 50.2%)
CIE-LABlab(47.42, -38.35, 47.85)
CIE-LCHlch(47.42, 61.32, 128.71°)
OKLaboklab(53.4% -0.1072 0.1049)
OKLCHoklch(53.4% 0.15 135.6)
XYZxyz(9.8703, 16.3424, 3.1645)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F11 #4F117F
analogous
#787F11 #417F11 #117F18
triadic
#417F11 #11417F #7F1141
tetradic
#417F11 #11787F #4F117F #7F1811
square
#417F11 #11787F #4F117F #7F1811
split-complementary
#417F11 #18117F #7F1178
monochromatic
#0E1B04 #25490A #417F11 #5DB518 #79E228

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417F11#FFFFFF#000000##FFFFFF
##417F111.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)
#7C6F1F
Tritanopia (blue-blind)
#3F7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417f11;
/* rgb */ color: rgb(65, 127, 17);
/* oklch */ color: oklch(53.4% 0.150 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ca55b',
    500: '#417f11',
    950: '#000000',
  },
}
SCSS
$custom: #417f11;
$custom-light: #7ca55b;
$custom-dark: #000000;
JSON
{
  "hex": "#417f11",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 93.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53401,
    "c": 0.15001,
    "h": 135.6
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#417F11
secondary
#7E37B5
accent
#35F3A0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417F11

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

Preview Lab → · Contrast checker → · Palette generator →

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