#417D22#417D22

#417D22 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.138 H 137.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#417D22
RGBrgb(65, 125, 34)
HSLhsl(100, 57%, 31%)
HSVhsv(100, 73%, 49%)
CMYKcmyk(48%, 0%, 72.8%, 51%)
CIE-LABlab(46.85, -36.43, 41.51)
CIE-LCHlch(46.85, 55.23, 131.27°)
OKLaboklab(52.96% -0.101 0.0942)
OKLCHoklch(52.96% 0.138 137)
XYZxyz(9.8020, 15.9059, 4.0667)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D22 #5E227D
analogous
#6E7D22 #417D22 #227D30
triadic
#417D22 #22417D #7D2241
tetradic
#417D22 #226E7D #5E227D #7D3022
square
#417D22 #226E7D #5E227D #7D3022
split-complementary
#417D22 #30227D #7D226E
monochromatic
#0F1D08 #284D15 #417D22 #5AAD2F #78CE4B

Accessibility & contrast

On white

5.02
#417D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417D22
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D22#FFFFFF#000000##FFFFFF
##417D221.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#3E786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d22;
/* rgb */ color: rgb(65, 125, 34);
/* oklch */ color: oklch(53.0% 0.138 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ba363',
    500: '#417d22',
    950: '#000000',
  },
}
SCSS
$custom: #417d22;
$custom-light: #7ba363;
$custom-dark: #000000;
JSON
{
  "hex": "#417d22",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 99.56,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.1381,
    "h": 137
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#417D22
secondary
#8D4BB0
accent
#47E0AC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417D22

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

Preview Lab → · Contrast checker → · Palette generator →

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