#417D16#417D16

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

Color values

HEX#417D16
RGBrgb(65, 125, 22)
HSLhsl(95, 70%, 29%)
HSVhsv(95, 82%, 49%)
CMYKcmyk(48%, 0%, 82.4%, 51%)
CIE-LABlab(46.77, -37.26, 45.82)
CIE-LCHlch(46.77, 59.06, 129.12°)
OKLaboklab(52.88% -0.104 0.1014)
OKLCHoklch(52.88% 0.145 135.7)
XYZxyz(9.6582, 15.8484, 3.3090)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D16 #52167D
analogous
#757D16 #417D16 #167D1E
triadic
#417D16 #16417D #7D1641
tetradic
#417D16 #16757D #52167D #7D1E16
square
#417D16 #16757D #52167D #7D1E16
split-complementary
#417D16 #1E167D #7D1675
monochromatic
#0E1A05 #26490D #417D16 #5CB11F #79DB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #417d16;
/* rgb */ color: rgb(65, 125, 22);
/* oklch */ color: oklch(52.9% 0.145 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ca35d',
    500: '#417d16',
    950: '#000000',
  },
}
SCSS
$custom: #417d16;
$custom-light: #7ca35d;
$custom-dark: #000000;
JSON
{
  "hex": "#417d16",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 94.951,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.14527,
    "h": 135.7
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#417D16
secondary
#813DB2
accent
#3BEDA3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417D16

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

Preview Lab → · Contrast checker → · Palette generator →

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