#417F18#417F18

#417F18 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.147 H 136.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#417F18
RGBrgb(65, 127, 24)
HSLhsl(96, 68%, 30%)
HSVhsv(96, 81%, 50%)
CMYKcmyk(48.8%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.45, -37.99, 45.81)
CIE-LCHlch(47.45, 59.51, 129.66°)
OKLaboklab(53.44% -0.1059 0.1017)
OKLCHoklch(53.44% 0.147 136.2)
XYZxyz(9.9339, 16.3679, 3.4998)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F18 #56187F
analogous
#747F18 #417F18 #187F23
triadic
#417F18 #18417F #7F1841
tetradic
#417F18 #18747F #56187F #7F2318
square
#417F18 #18747F #56187F #7F2318
split-complementary
#417F18 #23187F #7F1874
monochromatic
#0D1A05 #274C0E #417F18 #5BB222 #78D938

Accessibility & contrast

On white

4.91
#417F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#417F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417F18
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F18#FFFFFF#000000##FFFFFF
##417F181.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#3E7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f18;
/* rgb */ color: rgb(65, 127, 24);
/* oklch */ color: oklch(53.4% 0.147 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ca55e',
    500: '#417f18',
    950: '#000000',
  },
}
SCSS
$custom: #417f18;
$custom-light: #7ca55e;
$custom-dark: #000000;
JSON
{
  "hex": "#417f18",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 96.117,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.14679,
    "h": 136.2
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#417F18
secondary
#853FB3
accent
#3DEBA6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417F18

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

Preview Lab → · Contrast checker → · Palette generator →

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