#417D19#417D19

#417D19 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.144 H 136.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#417D19
RGBrgb(65, 125, 25)
HSLhsl(96, 67%, 29%)
HSVhsv(96, 80%, 49%)
CMYKcmyk(48%, 0%, 80%, 51%)
CIE-LABlab(46.79, -37.08, 44.85)
CIE-LCHlch(46.79, 58.19, 129.59°)
OKLaboklab(52.9% -0.1034 0.0998)
OKLCHoklch(52.9% 0.144 136)
XYZxyz(9.6888, 15.8606, 3.4704)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D19 #55197D
analogous
#737D19 #417D19 #197D23
triadic
#417D19 #19417D #7D1941
tetradic
#417D19 #19737D #55197D #7D2319
square
#417D19 #19737D #55197D #7D2319
split-complementary
#417D19 #23197D #7D1973
monochromatic
#0D1A05 #264A0F #417D19 #5CB023 #78D739

Accessibility & contrast

On white

5.03
#417D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417D19
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D19#FFFFFF#000000##FFFFFF
##417D191.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827201
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#3E786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d19;
/* rgb */ color: rgb(65, 125, 25);
/* oklch */ color: oklch(52.9% 0.144 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ca35e',
    500: '#417d19',
    950: '#000000',
  },
}
SCSS
$custom: #417d19;
$custom-light: #7ca35e;
$custom-dark: #000000;
JSON
{
  "hex": "#417d19",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 96,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.14371,
    "h": 136
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#417D19
secondary
#8440B1
accent
#3EEAA5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417D19

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

Preview Lab → · Contrast checker → · Palette generator →

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