#417D18#417D18

#417D18 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.144 H 135.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#417D18
RGBrgb(65, 125, 24)
HSLhsl(96, 68%, 29%)
HSVhsv(96, 81%, 49%)
CMYKcmyk(48%, 0%, 80.8%, 51%)
CIE-LABlab(46.79, -37.14, 45.18)
CIE-LCHlch(46.79, 58.49, 129.42°)
OKLaboklab(52.89% -0.1036 0.1004)
OKLCHoklch(52.89% 0.144 135.9)
XYZxyz(9.6782, 15.8564, 3.4146)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D18 #54187D
analogous
#747D18 #417D18 #187D22
triadic
#417D18 #18417D #7D1841
tetradic
#417D18 #18747D #54187D #7D2218
square
#417D18 #18747D #54187D #7D2218
split-complementary
#417D18 #22187D #7D1874
monochromatic
#0D1A05 #264A0E #417D18 #5CB022 #78D937

Accessibility & contrast

On white

5.03
#417D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#417D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D18
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D18#FFFFFF#000000##FFFFFF
##417D181.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#3F786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d18;
/* rgb */ color: rgb(65, 125, 24);
/* oklch */ color: oklch(52.9% 0.144 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ca35e',
    500: '#417d18',
    950: '#000000',
  },
}
SCSS
$custom: #417d18;
$custom-light: #7ca35e;
$custom-dark: #000000;
JSON
{
  "hex": "#417d18",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 95.644,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.14424,
    "h": 135.9
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#417D18
secondary
#833FB2
accent
#3DEBA4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417D18

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

Preview Lab → · Contrast checker → · Palette generator →

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