#417D20#417D20

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

Color values

HEX#417D20
RGBrgb(65, 125, 32)
HSLhsl(99, 59%, 31%)
HSVhsv(99, 74%, 49%)
CMYKcmyk(48%, 0%, 74.4%, 51%)
CIE-LABlab(46.84, -36.59, 42.30)
CIE-LCHlch(46.84, 55.93, 130.86°)
OKLaboklab(52.95% -0.1016 0.0956)
OKLCHoklch(52.95% 0.139 136.7)
XYZxyz(9.7740, 15.8947, 3.9192)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D20 #5C207D
analogous
#6F7D20 #417D20 #207D2D
triadic
#417D20 #20417D #7D2041
tetradic
#417D20 #206F7D #5C207D #7D2D20
square
#417D20 #206F7D #5C207D #7D2D20
split-complementary
#417D20 #2D207D #7D206F
monochromatic
#0E1C07 #284C14 #417D20 #5AAE2C #78D047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417D20#FFFFFF#000000##FFFFFF
##417D201.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)
#817210
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#3E786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d20;
/* rgb */ color: rgb(65, 125, 32);
/* oklch */ color: oklch(52.9% 0.139 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ba362',
    500: '#417d20',
    950: '#000000',
  },
}
SCSS
$custom: #417d20;
$custom-light: #7ba362;
$custom-dark: #000000;
JSON
{
  "hex": "#417d20",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 98.71,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.13946,
    "h": 136.7
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#417D20
secondary
#8B49B0
accent
#45E2AB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417D20

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

Preview Lab → · Contrast checker → · Palette generator →

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