#417417#417417

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

Color values

HEX#417417
RGBrgb(65, 116, 23)
HSLhsl(93, 67%, 27%)
HSVhsv(93, 80%, 45%)
CMYKcmyk(44%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.76, -33.31, 42.65)
CIE-LCHlch(43.76, 54.12, 127.99°)
OKLaboklab(50.41% -0.0934 0.0949)
OKLCHoklch(50.41% 0.133 134.5)
XYZxyz(8.5798, 13.6760, 2.9981)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417417 #4A1774
analogous
#707417 #417417 #17741C
triadic
#417417 #174174 #741741
tetradic
#417417 #177074 #4A1774 #741C17
square
#417417 #177074 #4A1774 #741C17
split-complementary
#417417 #1C1774 #741770
monochromatic
#0E1A05 #24410D #417417 #5EA721 #7BD630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417417#FFFFFF#000000##FFFFFF
##4174171.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#406F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417417;
/* rgb */ color: rgb(65, 116, 23);
/* oklch */ color: oklch(50.4% 0.133 134.5);
Tailwind
colors: {
  custom: {
    50: '#7b9c5c',
    500: '#417417',
    950: '#000000',
  },
}
SCSS
$custom: #417417;
$custom-light: #7b9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417417",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 92.903,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.13312,
    "h": 134.5
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#417417
secondary
#793DA9
accent
#3EEA9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417417

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

Preview Lab → · Contrast checker → · Palette generator →

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