#417E22#417E22

#417E22 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.139 H 137.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#417E22
RGBrgb(65, 126, 34)
HSLhsl(100, 58%, 31%)
HSVhsv(100, 73%, 49%)
CMYKcmyk(48.4%, 0%, 73%, 50.6%)
CIE-LABlab(47.18, -36.86, 41.85)
CIE-LCHlch(47.18, 55.77, 131.37°)
OKLaboklab(53.24% -0.1021 0.0949)
OKLCHoklch(53.24% 0.139 137.1)
XYZxyz(9.9293, 16.1604, 4.1091)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E22 #5F227E
analogous
#6F7E22 #417E22 #227E31
triadic
#417E22 #22417E #7E2241
tetradic
#417E22 #226F7E #5F227E #7E3122
square
#417E22 #226F7E #5F227E #7E3122
split-complementary
#417E22 #31227E #7E226F
monochromatic
#0F1E08 #284E15 #417E22 #5AAE2F #78CF4C

Accessibility & contrast

On white

4.96
#417E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#417E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417E22
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E22#FFFFFF#000000##FFFFFF
##417E221.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#3E796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e22;
/* rgb */ color: rgb(65, 126, 34);
/* oklch */ color: oklch(53.2% 0.139 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ca463',
    500: '#417e22',
    950: '#000000',
  },
}
SCSS
$custom: #417e22;
$custom-light: #7ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#417e22",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 99.783,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.13944,
    "h": 137.1
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#417E22
secondary
#8E4BB1
accent
#47E1AD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417E22

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

Preview Lab → · Contrast checker → · Palette generator →

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