#417B17#417B17

#417B17 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.3% C 0.142 H 135.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#417B17
RGBrgb(65, 123, 23)
HSLhsl(95, 68%, 29%)
HSVhsv(95, 81%, 48%)
CMYKcmyk(47.2%, 0%, 81.3%, 51.8%)
CIE-LABlab(46.11, -36.35, 44.88)
CIE-LCHlch(46.11, 57.75, 129.01°)
OKLaboklab(52.33% -0.1015 0.0996)
OKLCHoklch(52.33% 0.142 135.6)
XYZxyz(9.4174, 15.3510, 3.2773)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B17 #51177B
analogous
#737B17 #417B17 #177B1F
triadic
#417B17 #17417B #7B1741
tetradic
#417B17 #17737B #51177B #7B1F17
square
#417B17 #17737B #51177B #7B1F17
split-complementary
#417B17 #1F177B #7B1773
monochromatic
#0E1A05 #26470D #417B17 #5CAF21 #79D933

Accessibility & contrast

On white

5.16
#417B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#417B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B17
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B17#FFFFFF#000000##FFFFFF
##417B171.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#3F7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b17;
/* rgb */ color: rgb(65, 123, 23);
/* oklch */ color: oklch(52.3% 0.142 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ca25d',
    500: '#417b17',
    950: '#000000',
  },
}
SCSS
$custom: #417b17;
$custom-light: #7ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#417b17",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 94.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.14221,
    "h": 135.6
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#417B17
secondary
#803EB0
accent
#3CEBA2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417B17

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

Preview Lab → · Contrast checker → · Palette generator →

#417B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva