#417420#417420

#417420 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.127 H 135.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#417420
RGBrgb(65, 116, 32)
HSLhsl(96, 57%, 29%)
HSVhsv(96, 72%, 45%)
CMYKcmyk(44%, 0%, 72.4%, 54.5%)
CIE-LABlab(43.83, -32.66, 39.22)
CIE-LCHlch(43.83, 51.03, 129.79°)
OKLaboklab(50.48% -0.0909 0.0891)
OKLCHoklch(50.48% 0.127 135.6)
XYZxyz(8.6859, 13.7184, 3.5565)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417420 #532074
analogous
#6B7420 #417420 #207429
triadic
#417420 #204174 #742041
tetradic
#417420 #206B74 #532074 #742920
square
#417420 #206B74 #532074 #742920
split-complementary
#417420 #292074 #74206B
monochromatic
#0D1807 #264413 #417420 #5CA42D #79CB43

Accessibility & contrast

On white

5.61
#417420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#417420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417420
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417420#FFFFFF#000000##FFFFFF
##4174201.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#3F7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #417420;
/* rgb */ color: rgb(65, 116, 32);
/* oklch */ color: oklch(50.5% 0.127 135.6);
Tailwind
colors: {
  custom: {
    50: '#7a9c61',
    500: '#417420',
    950: '#000000',
  },
}
SCSS
$custom: #417420;
$custom-light: #7a9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#417420",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 96.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.12731,
    "h": 135.6
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#417420
secondary
#8248A8
accent
#48E0A4
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #417420

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

Preview Lab → · Contrast checker → · Palette generator →

#417420 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva