#417C17#417C17

#417C17 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.143 H 135.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#417C17
RGBrgb(65, 124, 23)
HSLhsl(95, 69%, 29%)
HSVhsv(95, 81%, 49%)
CMYKcmyk(47.6%, 0%, 81.5%, 51.4%)
CIE-LABlab(46.45, -36.78, 45.19)
CIE-LCHlch(46.45, 58.27, 129.14°)
OKLaboklab(52.61% -0.1027 0.1002)
OKLCHoklch(52.61% 0.143 135.7)
XYZxyz(9.5420, 15.6004, 3.3188)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C17 #52177C
analogous
#747C17 #417C17 #177C20
triadic
#417C17 #17417C #7C1741
tetradic
#417C17 #17747C #52177C #7C2017
square
#417C17 #17747C #52177C #7C2017
split-complementary
#417C17 #20177C #7C1774
monochromatic
#0E1A05 #26480D #417C17 #5CB021 #79D934

Accessibility & contrast

On white

5.10
#417C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#417C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C17
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C17#FFFFFF#000000##FFFFFF
##417C171.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#3F7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c17;
/* rgb */ color: rgb(65, 124, 23);
/* oklch */ color: oklch(52.6% 0.143 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ca25d',
    500: '#417c17',
    950: '#000000',
  },
}
SCSS
$custom: #417c17;
$custom-light: #7ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#417c17",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 95.05,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.14349,
    "h": 135.7
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#417C17
secondary
#813EB1
accent
#3CECA3
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417C17

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

Preview Lab → · Contrast checker → · Palette generator →

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