#417D1D#417D1D

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

Color values

HEX#417D1D
RGBrgb(65, 125, 29)
HSLhsl(98, 62%, 30%)
HSVhsv(98, 77%, 49%)
CMYKcmyk(48%, 0%, 76.8%, 51%)
CIE-LABlab(46.82, -36.82, 43.44)
CIE-LCHlch(46.82, 56.94, 130.28°)
OKLaboklab(52.92% -0.1024 0.0975)
OKLCHoklch(52.92% 0.141 136.4)
XYZxyz(9.7351, 15.8791, 3.7142)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D1D #591D7D
analogous
#717D1D #417D1D #1D7D29
triadic
#417D1D #1D417D #7D1D41
tetradic
#417D1D #1D717D #591D7D #7D291D
square
#417D1D #1D717D #591D7D #7D291D
split-complementary
#417D1D #291D7D #7D1D71
monochromatic
#0D1A06 #274B11 #417D1D #5BAF29 #78D341

Accessibility & contrast

On white

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

On black

4.18
#417D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417D1D#FFFFFF#000000##FFFFFF
##417D1D1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#3E786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d1d;
/* rgb */ color: rgb(65, 125, 29);
/* oklch */ color: oklch(52.9% 0.141 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ca360',
    500: '#417d1d',
    950: '#000000',
  },
}
SCSS
$custom: #417d1d;
$custom-light: #7ca360;
$custom-dark: #000000;
JSON
{
  "hex": "#417d1d",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 97.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.14138,
    "h": 136.4
  },
  "luminance": 0.1588
}

Semantic roles & 50–950 ramp

primary
#417D1D
secondary
#8845B1
accent
#42E5A8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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