#417117#417117

#417117 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.129 H 134.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#417117
RGBrgb(65, 113, 23)
HSLhsl(92, 66%, 27%)
HSVhsv(92, 80%, 44%)
CMYKcmyk(42.5%, 0%, 79.6%, 55.7%)
CIE-LABlab(42.76, -31.97, 41.68)
CIE-LCHlch(42.76, 52.53, 127.49°)
OKLaboklab(49.58% -0.0897 0.0929)
OKLCHoklch(49.58% 0.129 134)
XYZxyz(8.2396, 12.9955, 2.8847)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417117 #471771
analogous
#6E7117 #417117 #17711A
triadic
#417117 #174171 #711741
tetradic
#417117 #176E71 #471771 #711A17
square
#417117 #176E71 #471771 #711A17
split-complementary
#417117 #1A1771 #71176E
monochromatic
#0F1905 #243E0D #417117 #5EA421 #7CD42E

Accessibility & contrast

On white

5.83
#417117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#417117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417117
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417117#FFFFFF#000000##FFFFFF
##4171171.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766703
Deuteranopia (green-blind)
#6F6420
Tritanopia (blue-blind)
#416C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #417117;
/* rgb */ color: rgb(65, 113, 23);
/* oklch */ color: oklch(49.6% 0.129 134.0);
Tailwind
colors: {
  custom: {
    50: '#7a9a5c',
    500: '#417117',
    950: '#000000',
  },
}
SCSS
$custom: #417117;
$custom-light: #7a9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417117",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 92,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.12915,
    "h": 134
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#417117
secondary
#753DA7
accent
#3FE99A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417117

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

Preview Lab → · Contrast checker → · Palette generator →

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