#417516#417516

#417516 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.7% C 0.135 H 134.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#417516
RGBrgb(65, 117, 22)
HSLhsl(93, 68%, 27%)
HSVhsv(93, 81%, 46%)
CMYKcmyk(44.4%, 0%, 81.2%, 54.1%)
CIE-LABlab(44.09, -33.81, 43.31)
CIE-LCHlch(44.09, 54.94, 127.98°)
OKLaboklab(50.68% -0.0948 0.0961)
OKLCHoklch(50.68% 0.135 134.6)
XYZxyz(8.6859, 13.9038, 2.9849)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417516 #4A1675
analogous
#717516 #417516 #16751B
triadic
#417516 #164175 #751641
tetradic
#417516 #167175 #4A1675 #751B16
square
#417516 #167175 #4A1675 #751B16
split-complementary
#417516 #1B1675 #751671
monochromatic
#0E1A05 #24410C #417516 #5EA920 #7BD82E

Accessibility & contrast

On white

5.55
#417516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#417516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417516
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417516#FFFFFF#000000##FFFFFF
##4175161.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#407063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #417516;
/* rgb */ color: rgb(65, 117, 22);
/* oklch */ color: oklch(50.7% 0.135 134.6);
Tailwind
colors: {
  custom: {
    50: '#7b9d5c',
    500: '#417516',
    950: '#000000',
  },
}
SCSS
$custom: #417516;
$custom-light: #7b9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417516",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 92.842,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.13498,
    "h": 134.6
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#417516
secondary
#793CAB
accent
#3DEB9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417516

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

Preview Lab → · Contrast checker → · Palette generator →

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