#417E18#417E18

#417E18 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.146 H 136.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#417E18
RGBrgb(65, 126, 24)
HSLhsl(96, 68%, 29%)
HSVhsv(96, 81%, 49%)
CMYKcmyk(48.4%, 0%, 81%, 50.6%)
CIE-LABlab(47.12, -37.57, 45.50)
CIE-LCHlch(47.12, 59.00, 129.55°)
OKLaboklab(53.16% -0.1047 0.101)
OKLCHoklch(53.16% 0.146 136)
XYZxyz(9.8054, 16.1108, 3.4570)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E18 #55187E
analogous
#747E18 #417E18 #187E22
triadic
#417E18 #18417E #7E1841
tetradic
#417E18 #18747E #55187E #7E2218
square
#417E18 #18747E #55187E #7E2218
split-complementary
#417E18 #22187E #7E1874
monochromatic
#0D1A05 #264B0E #417E18 #5CB122 #78D937

Accessibility & contrast

On white

4.97
#417E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#417E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417E18
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E18#FFFFFF#000000##FFFFFF
##417E181.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#3E796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e18;
/* rgb */ color: rgb(65, 126, 24);
/* oklch */ color: oklch(53.2% 0.146 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ca45e',
    500: '#417e18',
    950: '#000000',
  },
}
SCSS
$custom: #417e18;
$custom-light: #7ca45e;
$custom-dark: #000000;
JSON
{
  "hex": "#417e18",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 95.882,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.14552,
    "h": 136
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#417E18
secondary
#843FB2
accent
#3DEBA5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417E18

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

Preview Lab → · Contrast checker → · Palette generator →

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