#417C20#417C20

#417C20 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.138 H 136.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#417C20
RGBrgb(65, 124, 32)
HSLhsl(98, 59%, 31%)
HSVhsv(98, 74%, 49%)
CMYKcmyk(47.6%, 0%, 74.2%, 51.4%)
CIE-LABlab(46.50, -36.17, 41.96)
CIE-LCHlch(46.50, 55.40, 130.76°)
OKLaboklab(52.67% -0.1004 0.0949)
OKLCHoklch(52.67% 0.138 136.6)
XYZxyz(9.6481, 15.6428, 3.8772)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C20 #5B207C
analogous
#6F7C20 #417C20 #207C2D
triadic
#417C20 #20417C #7C2041
tetradic
#417C20 #206F7C #5B207C #7C2D20
square
#417C20 #206F7C #5B207C #7C2D20
split-complementary
#417C20 #2D207C #7C206F
monochromatic
#0E1B07 #274B13 #417C20 #5BAD2D #78CF47

Accessibility & contrast

On white

5.09
#417C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#417C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C20
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C20#FFFFFF#000000##FFFFFF
##417C201.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#796C29
Tritanopia (blue-blind)
#3E776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c20;
/* rgb */ color: rgb(65, 124, 32);
/* oklch */ color: oklch(52.7% 0.138 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ba262',
    500: '#417c20',
    950: '#000000',
  },
}
SCSS
$custom: #417c20;
$custom-light: #7ba262;
$custom-dark: #000000;
JSON
{
  "hex": "#417c20",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 98.478,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.13814,
    "h": 136.6
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#417C20
secondary
#8A49AF
accent
#46E2AA
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417C20

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

Preview Lab → · Contrast checker → · Palette generator →

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