#417E20#417E20

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

Color values

HEX#417E20
RGBrgb(65, 126, 32)
HSLhsl(99, 59%, 31%)
HSVhsv(99, 75%, 49%)
CMYKcmyk(48.4%, 0%, 74.6%, 50.6%)
CIE-LABlab(47.17, -37.02, 42.64)
CIE-LCHlch(47.17, 56.47, 130.96°)
OKLaboklab(53.22% -0.1027 0.0963)
OKLCHoklch(53.22% 0.141 136.9)
XYZxyz(9.9012, 16.1492, 3.9616)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E20 #5D207E
analogous
#707E20 #417E20 #207E2E
triadic
#417E20 #20417E #7E2041
tetradic
#417E20 #20707E #5D207E #7E2E20
square
#417E20 #20707E #5D207E #7E2E20
split-complementary
#417E20 #2E207E #7E2070
monochromatic
#0F1C07 #284D14 #417E20 #5AAF2C #78D048

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417E20#FFFFFF#000000##FFFFFF
##417E201.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)
#82730F
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#3E796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e20;
/* rgb */ color: rgb(65, 126, 32);
/* oklch */ color: oklch(53.2% 0.141 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ca462',
    500: '#417e20',
    950: '#000000',
  },
}
SCSS
$custom: #417e20;
$custom-light: #7ca462;
$custom-dark: #000000;
JSON
{
  "hex": "#417e20",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 98.936,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.14079,
    "h": 136.9
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#417E20
secondary
#8C49B1
accent
#45E3AB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417E20

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

Preview Lab → · Contrast checker → · Palette generator →

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