#417B20#417B20

#417B20 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.137 H 136.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#417B20
RGBrgb(65, 123, 32)
HSLhsl(98, 59%, 30%)
HSVhsv(98, 74%, 48%)
CMYKcmyk(47.2%, 0%, 74%, 51.8%)
CIE-LABlab(46.17, -35.74, 41.62)
CIE-LCHlch(46.17, 54.86, 130.65°)
OKLaboklab(52.4% -0.0992 0.0942)
OKLCHoklch(52.4% 0.137 136.5)
XYZxyz(9.5234, 15.3934, 3.8356)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B20 #5A207B
analogous
#6E7B20 #417B20 #207B2C
triadic
#417B20 #20417B #7B2041
tetradic
#417B20 #206E7B #5A207B #7B2C20
square
#417B20 #206E7B #5A207B #7B2C20
split-complementary
#417B20 #2C207B #7B206E
monochromatic
#0E1A07 #274A13 #417B20 #5BAC2D #78CF46

Accessibility & contrast

On white

5.15
#417B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#417B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B20
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B20#FFFFFF#000000##FFFFFF
##417B201.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#3E7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b20;
/* rgb */ color: rgb(65, 123, 32);
/* oklch */ color: oklch(52.4% 0.137 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ba262',
    500: '#417b20',
    950: '#000000',
  },
}
SCSS
$custom: #417b20;
$custom-light: #7ba262;
$custom-dark: #000000;
JSON
{
  "hex": "#417b20",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 98.242,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.1368,
    "h": 136.5
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#417B20
secondary
#8949AE
accent
#46E2A9
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417B20

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

Preview Lab → · Contrast checker → · Palette generator →

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