#417416#417416

#417416 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.134 H 134.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#417416
RGBrgb(65, 116, 22)
HSLhsl(93, 68%, 27%)
HSVhsv(93, 81%, 45%)
CMYKcmyk(44%, 0%, 81%, 54.5%)
CIE-LABlab(43.76, -33.37, 42.99)
CIE-LCHlch(43.76, 54.42, 127.82°)
OKLaboklab(50.4% -0.0936 0.0954)
OKLCHoklch(50.4% 0.134 134.4)
XYZxyz(8.5700, 13.6721, 2.9463)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417416 #491674
analogous
#707416 #417416 #16741A
triadic
#417416 #164174 #741641
tetradic
#417416 #167074 #491674 #741A16
square
#417416 #167074 #491674 #741A16
split-complementary
#417416 #1A1674 #741670
monochromatic
#0E1A05 #24410C #417416 #5EA720 #7BD72D

Accessibility & contrast

On white

5.62
#417416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#417416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417416
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417416#FFFFFF#000000##FFFFFF
##4174161.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#406F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417416;
/* rgb */ color: rgb(65, 116, 22);
/* oklch */ color: oklch(50.4% 0.134 134.4);
Tailwind
colors: {
  custom: {
    50: '#7b9c5c',
    500: '#417416',
    950: '#000000',
  },
}
SCSS
$custom: #417416;
$custom-light: #7b9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417416",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 92.553,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.13368,
    "h": 134.4
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#417416
secondary
#783CAA
accent
#3DEB9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417416

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

Preview Lab → · Contrast checker → · Palette generator →

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