#417917#417917

#417917 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.140 H 135.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#417917
RGBrgb(65, 121, 23)
HSLhsl(94, 68%, 28%)
HSVhsv(94, 81%, 47%)
CMYKcmyk(46.3%, 0%, 81%, 52.5%)
CIE-LABlab(45.44, -35.50, 44.24)
CIE-LCHlch(45.44, 56.72, 128.74°)
OKLaboklab(51.78% -0.0992 0.0982)
OKLCHoklch(51.78% 0.14 135.3)
XYZxyz(9.1718, 14.8599, 3.1954)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417917 #4F1779
analogous
#727917 #417917 #17791E
triadic
#417917 #174179 #791741
tetradic
#417917 #177279 #4F1779 #791E17
square
#417917 #177279 #4F1779 #791E17
split-complementary
#417917 #1E1779 #791772
monochromatic
#0E1A05 #25460D #417917 #5DAC21 #79D832

Accessibility & contrast

On white

5.29
#417917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#417917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417917
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417917#FFFFFF#000000##FFFFFF
##4179171.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#3F7467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417917;
/* rgb */ color: rgb(65, 121, 23);
/* oklch */ color: oklch(51.8% 0.140 135.3);
Tailwind
colors: {
  custom: {
    50: '#7ba05d',
    500: '#417917',
    950: '#000000',
  },
}
SCSS
$custom: #417917;
$custom-light: #7ba05d;
$custom-dark: #000000;
JSON
{
  "hex": "#417917",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 94.286,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51784,
    "c": 0.13963,
    "h": 135.3
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#417917
secondary
#7E3EAE
accent
#3DEBA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #417917

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

Preview Lab → · Contrast checker → · Palette generator →

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