#417C18#417C18

#417C18 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.143 H 135.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#417C18
RGBrgb(65, 124, 24)
HSLhsl(95, 68%, 29%)
HSVhsv(95, 81%, 49%)
CMYKcmyk(47.6%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.45, -36.72, 44.86)
CIE-LCHlch(46.45, 57.98, 129.30°)
OKLaboklab(52.62% -0.1025 0.0997)
OKLCHoklch(52.62% 0.143 135.8)
XYZxyz(9.5523, 15.6045, 3.3726)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C18 #53187C
analogous
#737C18 #417C18 #187C21
triadic
#417C18 #18417C #7C1841
tetradic
#417C18 #18737C #53187C #7C2118
square
#417C18 #18737C #53187C #7C2118
split-complementary
#417C18 #21187C #7C1873
monochromatic
#0D1A05 #26490E #417C18 #5CAF22 #79D836

Accessibility & contrast

On white

5.10
#417C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#417C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C18
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C18#FFFFFF#000000##FFFFFF
##417C181.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#3F7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c18;
/* rgb */ color: rgb(65, 124, 24);
/* oklch */ color: oklch(52.6% 0.143 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ca25e',
    500: '#417c18',
    950: '#000000',
  },
}
SCSS
$custom: #417c18;
$custom-light: #7ca25e;
$custom-dark: #000000;
JSON
{
  "hex": "#417c18",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 95.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.14296,
    "h": 135.8
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#417C18
secondary
#823FB1
accent
#3DEAA3
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417C18

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

Preview Lab → · Contrast checker → · Palette generator →

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