#417A24#417A24

#417A24 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.133 H 136.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#417A24
RGBrgb(65, 122, 36)
HSLhsl(100, 54%, 31%)
HSVhsv(100, 70%, 48%)
CMYKcmyk(46.7%, 0%, 70.5%, 52.2%)
CIE-LABlab(45.87, -34.97, 39.64)
CIE-LCHlch(45.87, 52.86, 131.42°)
OKLaboklab(52.16% -0.0969 0.0906)
OKLCHoklch(52.16% 0.133 136.9)
XYZxyz(9.4577, 15.1697, 4.0984)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A24 #5D247A
analogous
#6C7A24 #417A24 #247A32
triadic
#417A24 #24417A #7A2441
tetradic
#417A24 #246C7A #5D247A #7A3224
square
#417A24 #246C7A #5D247A #7A3224
split-complementary
#417A24 #32247A #7A246C
monochromatic
#0F1B08 #284B16 #417A24 #5AA932 #78CB4E

Accessibility & contrast

On white

5.21
#417A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417A24
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A24#FFFFFF#000000##FFFFFF
##417A241.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7018
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#3E7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a24;
/* rgb */ color: rgb(65, 122, 36);
/* oklch */ color: oklch(52.2% 0.133 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ba164',
    500: '#417a24',
    950: '#000000',
  },
}
SCSS
$custom: #417a24;
$custom-light: #7ba164;
$custom-dark: #000000;
JSON
{
  "hex": "#417a24",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 99.767,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.13261,
    "h": 136.9
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#417A24
secondary
#8C4DAC
accent
#4ADEAC
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A24

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

Preview Lab → · Contrast checker → · Palette generator →

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