#417C19#417C19

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

Color values

HEX#417C19
RGBrgb(65, 124, 25)
HSLhsl(96, 66%, 29%)
HSVhsv(96, 80%, 49%)
CMYKcmyk(47.6%, 0%, 79.8%, 51.4%)
CIE-LABlab(46.46, -36.66, 44.53)
CIE-LCHlch(46.46, 57.68, 129.46°)
OKLaboklab(52.62% -0.1022 0.0992)
OKLCHoklch(52.62% 0.142 135.9)
XYZxyz(9.5628, 15.6087, 3.4284)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C19 #54197C
analogous
#737C19 #417C19 #197C23
triadic
#417C19 #19417C #7C1941
tetradic
#417C19 #19737C #54197C #7C2319
square
#417C19 #19737C #54197C #7C2319
split-complementary
#417C19 #23197C #7C1973
monochromatic
#0D1905 #26490F #417C19 #5CAF23 #78D738

Accessibility & contrast

On white

5.09
#417C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417C19
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C19#FFFFFF#000000##FFFFFF
##417C191.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417c19;
/* rgb */ color: rgb(65, 124, 25);
/* oklch */ color: oklch(52.6% 0.142 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ca25e',
    500: '#417c19',
    950: '#000000',
  },
}
SCSS
$custom: #417c19;
$custom-light: #7ca25e;
$custom-dark: #000000;
JSON
{
  "hex": "#417c19",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 95.758,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.14242,
    "h": 135.9
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#417C19
secondary
#8340B0
accent
#3EE9A4
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417C19

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

Preview Lab → · Contrast checker → · Palette generator →

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