#417A20#417A20

#417A20 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.135 H 136.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#417A20
RGBrgb(65, 122, 32)
HSLhsl(98, 58%, 30%)
HSVhsv(98, 74%, 48%)
CMYKcmyk(46.7%, 0%, 73.8%, 52.2%)
CIE-LABlab(45.83, -35.30, 41.28)
CIE-LCHlch(45.83, 54.32, 130.53°)
OKLaboklab(52.13% -0.0981 0.0934)
OKLCHoklch(52.13% 0.135 136.4)
XYZxyz(9.4000, 15.1466, 3.7945)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A20 #59207A
analogous
#6E7A20 #417A20 #207A2C
triadic
#417A20 #20417A #7A2041
tetradic
#417A20 #206E7A #59207A #7A2C20
square
#417A20 #206E7A #59207A #7A2C20
split-complementary
#417A20 #2C207A #7A206E
monochromatic
#0D1907 #274A13 #417A20 #5BAA2D #78CE46

Accessibility & contrast

On white

5.21
#417A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#417A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A20
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A20#FFFFFF#000000##FFFFFF
##417A201.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7011
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#3E7568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a20;
/* rgb */ color: rgb(65, 122, 32);
/* oklch */ color: oklch(52.1% 0.135 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ba161',
    500: '#417a20',
    950: '#000000',
  },
}
SCSS
$custom: #417a20;
$custom-light: #7ba161;
$custom-dark: #000000;
JSON
{
  "hex": "#417a20",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 98,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.13546,
    "h": 136.4
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#417A20
secondary
#8849AD
accent
#46E2A9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #417A20

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

Preview Lab → · Contrast checker → · Palette generator →

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