#417D1A#417D1A

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

Color values

HEX#417D1A
RGBrgb(65, 125, 26)
HSLhsl(96, 66%, 30%)
HSVhsv(96, 79%, 49%)
CMYKcmyk(48%, 0%, 79.2%, 51%)
CIE-LABlab(46.80, -37.02, 44.51)
CIE-LCHlch(46.80, 57.89, 129.75°)
OKLaboklab(52.9% -0.1031 0.0993)
OKLCHoklch(52.9% 0.143 136.1)
XYZxyz(9.6998, 15.8650, 3.5282)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D1A #561A7D
analogous
#737D1A #417D1A #1A7D25
triadic
#417D1A #1A417D #7D1A41
tetradic
#417D1A #1A737D #561A7D #7D251A
square
#417D1A #1A737D #561A7D #7D251A
split-complementary
#417D1A #251A7D #7D1A73
monochromatic
#0D1905 #274A0F #417D1A #5BB025 #78D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417D1A#FFFFFF#000000##FFFFFF
##417D1A1.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)
#827203
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#3E786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d1a;
/* rgb */ color: rgb(65, 125, 26);
/* oklch */ color: oklch(52.9% 0.143 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ca35f',
    500: '#417d1a',
    950: '#000000',
  },
}
SCSS
$custom: #417d1a;
$custom-light: #7ca35f;
$custom-dark: #000000;
JSON
{
  "hex": "#417d1a",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 96.364,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.14314,
    "h": 136.1
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#417D1A
secondary
#8542B1
accent
#3FE9A6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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