#417A22#417A22

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

Color values

HEX#417A22
RGBrgb(65, 122, 34)
HSLhsl(99, 56%, 31%)
HSVhsv(99, 72%, 48%)
CMYKcmyk(46.7%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.85, -35.14, 40.47)
CIE-LCHlch(45.85, 53.60, 130.96°)
OKLaboklab(52.14% -0.0975 0.092)
OKLCHoklch(52.14% 0.134 136.7)
XYZxyz(9.4280, 15.1578, 3.9420)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A22 #5B227A
analogous
#6D7A22 #417A22 #227A2F
triadic
#417A22 #22417A #7A2241
tetradic
#417A22 #226D7A #5B227A #7A2F22
square
#417A22 #226D7A #5B227A #7A2F22
split-complementary
#417A22 #2F227A #7A226D
monochromatic
#0E1A07 #274A15 #417A22 #5AAA2F #78CD4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417A22#FFFFFF#000000##FFFFFF
##417A221.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)
#7E7015
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#3E7568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a22;
/* rgb */ color: rgb(65, 122, 34);
/* oklch */ color: oklch(52.1% 0.134 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ba163',
    500: '#417a22',
    950: '#000000',
  },
}
SCSS
$custom: #417a22;
$custom-light: #7ba163;
$custom-dark: #000000;
JSON
{
  "hex": "#417a22",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 98.864,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.13407,
    "h": 136.7
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#417A22
secondary
#8A4BAD
accent
#48E0AA
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #417A22

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

Preview Lab → · Contrast checker → · Palette generator →

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