#417317#417317

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

Color values

HEX#417317
RGBrgb(65, 115, 23)
HSLhsl(93, 67%, 27%)
HSVhsv(93, 80%, 45%)
CMYKcmyk(43.5%, 0%, 80%, 54.9%)
CIE-LABlab(43.43, -32.87, 42.33)
CIE-LCHlch(43.43, 53.59, 127.83°)
OKLaboklab(50.13% -0.0922 0.0942)
OKLCHoklch(50.13% 0.132 134.4)
XYZxyz(8.4652, 13.4467, 2.9599)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417317 #491773
analogous
#6F7317 #417317 #17731B
triadic
#417317 #174173 #731741
tetradic
#417317 #176F73 #491773 #731B17
square
#417317 #176F73 #491773 #731B17
split-complementary
#417317 #1B1773 #73176F
monochromatic
#0E1A05 #24400D #417317 #5EA621 #7BD52F

Accessibility & contrast

On white

5.69
#417317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#417317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417317
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417317#FFFFFF#000000##FFFFFF
##4173171.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#406E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417317;
/* rgb */ color: rgb(65, 115, 23);
/* oklch */ color: oklch(50.1% 0.132 134.4);
Tailwind
colors: {
  custom: {
    50: '#7b9c5c',
    500: '#417317',
    950: '#000000',
  },
}
SCSS
$custom: #417317;
$custom-light: #7b9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417317",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 92.609,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50133,
    "c": 0.1318,
    "h": 134.4
  },
  "luminance": 0.13447
}

Semantic roles & 50–950 ramp

primary
#417317
secondary
#783DA9
accent
#3EEA9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417317

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

Preview Lab → · Contrast checker → · Palette generator →

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