#417717#417717

#417717 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.2% C 0.137 H 135.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#417717
RGBrgb(65, 119, 23)
HSLhsl(94, 68%, 28%)
HSVhsv(94, 81%, 47%)
CMYKcmyk(45.4%, 0%, 80.7%, 53.3%)
CIE-LABlab(44.77, -34.63, 43.61)
CIE-LCHlch(44.77, 55.69, 128.45°)
OKLaboklab(51.23% -0.0969 0.0969)
OKLCHoklch(51.23% 0.137 135)
XYZxyz(8.9313, 14.3788, 3.1152)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417717 #4D1777
analogous
#717717 #417717 #17771D
triadic
#417717 #174177 #771741
tetradic
#417717 #177177 #4D1777 #771D17
square
#417717 #177177 #4D1777 #771D17
split-complementary
#417717 #1D1777 #771771
monochromatic
#0E1A05 #25440D #417717 #5DAA21 #7AD731

Accessibility & contrast

On white

5.42
#417717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#417717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417717
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417717#FFFFFF#000000##FFFFFF
##4177171.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#407265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #417717;
/* rgb */ color: rgb(65, 119, 23);
/* oklch */ color: oklch(51.2% 0.137 135.0);
Tailwind
colors: {
  custom: {
    50: '#7b9f5d',
    500: '#417717',
    950: '#000000',
  },
}
SCSS
$custom: #417717;
$custom-light: #7b9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#417717",
  "rgb": {
    "r": 65,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 93.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.13704,
    "h": 135
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#417717
secondary
#7C3EAC
accent
#3DEA9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417717

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

Preview Lab → · Contrast checker → · Palette generator →

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