#417A1D#417A1D

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

Color values

HEX#417A1D
RGBrgb(65, 122, 29)
HSLhsl(97, 62%, 30%)
HSVhsv(97, 76%, 48%)
CMYKcmyk(46.7%, 0%, 76.2%, 52.2%)
CIE-LABlab(45.81, -35.53, 42.45)
CIE-LCHlch(45.81, 55.35, 129.93°)
OKLaboklab(52.1% -0.0989 0.0954)
OKLCHoklch(52.1% 0.137 136)
XYZxyz(9.3610, 15.1310, 3.5895)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A1D #561D7A
analogous
#707A1D #417A1D #1D7A28
triadic
#417A1D #1D417A #7A1D41
tetradic
#417A1D #1D707A #561D7A #7A281D
square
#417A1D #1D707A #561D7A #7A281D
split-complementary
#417A1D #281D7A #7A1D70
monochromatic
#0D1906 #274911 #417A1D #5BAB29 #78D240

Accessibility & contrast

On white

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

On black

4.03
#417A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417A1D#FFFFFF#000000##FFFFFF
##417A1D1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417a1d;
/* rgb */ color: rgb(65, 122, 29);
/* oklch */ color: oklch(52.1% 0.137 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ba160',
    500: '#417a1d',
    950: '#000000',
  },
}
SCSS
$custom: #417a1d;
$custom-light: #7ba160;
$custom-dark: #000000;
JSON
{
  "hex": "#417a1d",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 96.774,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.13744,
    "h": 136
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#417A1D
secondary
#8545AE
accent
#43E5A6
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #417A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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