#417217#417217

#417217 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.130 H 134.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#417217
RGBrgb(65, 114, 23)
HSLhsl(92, 66%, 27%)
HSVhsv(92, 80%, 45%)
CMYKcmyk(43%, 0%, 79.8%, 55.3%)
CIE-LABlab(43.09, -32.42, 42.01)
CIE-LCHlch(43.09, 53.06, 127.66°)
OKLaboklab(49.86% -0.091 0.0935)
OKLCHoklch(49.86% 0.13 134.2)
XYZxyz(8.3518, 13.2199, 2.9221)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417217 #481772
analogous
#6F7217 #417217 #17721B
triadic
#417217 #174172 #721741
tetradic
#417217 #176F72 #481772 #721B17
square
#417217 #176F72 #481772 #721B17
split-complementary
#417217 #1B1772 #72176F
monochromatic
#0F1905 #243F0D #417217 #5EA521 #7BD52E

Accessibility & contrast

On white

5.76
#417217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#417217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417217
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417217#FFFFFF#000000##FFFFFF
##4172171.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#406D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417217;
/* rgb */ color: rgb(65, 114, 23);
/* oklch */ color: oklch(49.9% 0.130 134.2);
Tailwind
colors: {
  custom: {
    50: '#7a9b5c',
    500: '#417217',
    950: '#000000',
  },
}
SCSS
$custom: #417217;
$custom-light: #7a9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417217",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 92.308,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49858,
    "c": 0.13048,
    "h": 134.2
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

primary
#417217
secondary
#763DA8
accent
#3EE99A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417217

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

Preview Lab → · Contrast checker → · Palette generator →

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