#417A19#417A19

#417A19 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.140 H 135.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#417A19
RGBrgb(65, 122, 25)
HSLhsl(95, 66%, 29%)
HSVhsv(95, 80%, 48%)
CMYKcmyk(46.7%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.79, -35.80, 43.89)
CIE-LCHlch(45.79, 56.64, 129.21°)
OKLaboklab(52.07% -0.0999 0.0978)
OKLCHoklch(52.07% 0.14 135.6)
XYZxyz(9.3147, 15.1125, 3.3457)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A19 #52197A
analogous
#727A19 #417A19 #197A22
triadic
#417A19 #19417A #7A1941
tetradic
#417A19 #19727A #52197A #7A2219
square
#417A19 #19727A #52197A #7A2219
split-complementary
#417A19 #22197A #7A1972
monochromatic
#0E1905 #26470F #417A19 #5CAD23 #79D637

Accessibility & contrast

On white

5.22
#417A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#417A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A19
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A19#FFFFFF#000000##FFFFFF
##417A191.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F02
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#3F7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417a19;
/* rgb */ color: rgb(65, 122, 25);
/* oklch */ color: oklch(52.1% 0.140 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ba15e',
    500: '#417a19',
    950: '#000000',
  },
}
SCSS
$custom: #417a19;
$custom-light: #7ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#417a19",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 95.258,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.13984,
    "h": 135.6
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#417A19
secondary
#8140AF
accent
#3FE9A3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #417A19

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

Preview Lab → · Contrast checker → · Palette generator →

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