#417A18#417A18

#417A18 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.140 H 135.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#417A18
RGBrgb(65, 122, 24)
HSLhsl(95, 67%, 29%)
HSVhsv(95, 80%, 48%)
CMYKcmyk(46.7%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.78, -35.87, 44.23)
CIE-LCHlch(45.78, 56.94, 129.04°)
OKLaboklab(52.07% -0.1002 0.0984)
OKLCHoklch(52.07% 0.14 135.5)
XYZxyz(9.3042, 15.1083, 3.2899)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A18 #51187A
analogous
#727A18 #417A18 #187A20
triadic
#417A18 #18417A #7A1841
tetradic
#417A18 #18727A #51187A #7A2018
square
#417A18 #18727A #51187A #7A2018
split-complementary
#417A18 #20187A #7A1872
monochromatic
#0E1A05 #26470E #417A18 #5CAD22 #79D735

Accessibility & contrast

On white

5.22
#417A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#417A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A18
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A18#FFFFFF#000000##FFFFFF
##417A181.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#3F7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417a18;
/* rgb */ color: rgb(65, 122, 24);
/* oklch */ color: oklch(52.1% 0.140 135.5);
Tailwind
colors: {
  custom: {
    50: '#7ba15d',
    500: '#417a18',
    950: '#000000',
  },
}
SCSS
$custom: #417a18;
$custom-light: #7ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#417a18",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 94.898,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.14039,
    "h": 135.5
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#417A18
secondary
#803FAF
accent
#3EEAA2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #417A18

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

Preview Lab → · Contrast checker → · Palette generator →

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