#417517#417517

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

Color values

HEX#417517
RGBrgb(65, 117, 23)
HSLhsl(93, 67%, 27%)
HSVhsv(93, 80%, 46%)
CMYKcmyk(44.4%, 0%, 80.3%, 54.1%)
CIE-LABlab(44.10, -33.75, 42.97)
CIE-LCHlch(44.10, 54.64, 128.15°)
OKLaboklab(50.68% -0.0945 0.0956)
OKLCHoklch(50.68% 0.134 134.7)
XYZxyz(8.6957, 13.9078, 3.0367)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417517 #4B1775
analogous
#707517 #417517 #17751C
triadic
#417517 #174175 #751741
tetradic
#417517 #177075 #4B1775 #751C17
square
#417517 #177075 #4B1775 #751C17
split-complementary
#417517 #1C1775 #751770
monochromatic
#0E1A05 #25420D #417517 #5DA821 #7AD630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417517#FFFFFF#000000##FFFFFF
##4175171.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)
#7A6B01
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#407063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #417517;
/* rgb */ color: rgb(65, 117, 23);
/* oklch */ color: oklch(50.7% 0.134 134.7);
Tailwind
colors: {
  custom: {
    50: '#7b9d5c',
    500: '#417517',
    950: '#000000',
  },
}
SCSS
$custom: #417517;
$custom-light: #7b9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417517",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 93.191,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50684,
    "c": 0.13443,
    "h": 134.7
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

primary
#417517
secondary
#7A3DAA
accent
#3EEA9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417517

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

Preview Lab → · Contrast checker → · Palette generator →

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