#417F20#417F20

#417F20 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.142 H 137.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#417F20
RGBrgb(65, 127, 32)
HSLhsl(99, 60%, 31%)
HSVhsv(99, 75%, 50%)
CMYKcmyk(48.8%, 0%, 74.8%, 50.2%)
CIE-LABlab(47.50, -37.44, 42.98)
CIE-LCHlch(47.50, 57.00, 131.06°)
OKLaboklab(53.5% -0.1039 0.097)
OKLCHoklch(53.5% 0.142 137)
XYZxyz(10.0298, 16.4062, 4.0044)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F20 #5E207F
analogous
#707F20 #417F20 #207F2E
triadic
#417F20 #20417F #7F2041
tetradic
#417F20 #20707F #5E207F #7F2E20
square
#417F20 #20707F #5E207F #7F2E20
split-complementary
#417F20 #2E207F #7F2070
monochromatic
#0F1D07 #284E14 #417F20 #5AB02C #78D148

Accessibility & contrast

On white

4.90
#417F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#417F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417F20
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F20#FFFFFF#000000##FFFFFF
##417F201.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#3E7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f20;
/* rgb */ color: rgb(65, 127, 32);
/* oklch */ color: oklch(53.5% 0.142 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ca562',
    500: '#417f20',
    950: '#000000',
  },
}
SCSS
$custom: #417f20;
$custom-light: #7ca562;
$custom-dark: #000000;
JSON
{
  "hex": "#417f20",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 99.158,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.14211,
    "h": 137
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#417F20
secondary
#8D49B2
accent
#45E3AC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417F20

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

Preview Lab → · Contrast checker → · Palette generator →

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