#417418#417418

#417418 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.133 H 134.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#417418
RGBrgb(65, 116, 24)
HSLhsl(93, 66%, 27%)
HSVhsv(93, 79%, 45%)
CMYKcmyk(44%, 0%, 79.3%, 54.5%)
CIE-LABlab(43.77, -33.25, 42.30)
CIE-LCHlch(43.77, 53.80, 128.17°)
OKLaboklab(50.42% -0.0931 0.0943)
OKLCHoklch(50.42% 0.133 134.6)
XYZxyz(8.5901, 13.6801, 3.0519)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417418 #4B1874
analogous
#6F7418 #417418 #18741D
triadic
#417418 #184174 #741841
tetradic
#417418 #186F74 #4B1874 #741D18
square
#417418 #186F74 #4B1874 #741D18
split-complementary
#417418 #1D1874 #74186F
monochromatic
#0E1905 #25410E #417418 #5DA722 #7AD532

Accessibility & contrast

On white

5.62
#417418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#417418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417418
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417418#FFFFFF#000000##FFFFFF
##4174181.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#406F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417418;
/* rgb */ color: rgb(65, 116, 24);
/* oklch */ color: oklch(50.4% 0.133 134.6);
Tailwind
colors: {
  custom: {
    50: '#7b9c5d',
    500: '#417418',
    950: '#000000',
  },
}
SCSS
$custom: #417418;
$custom-light: #7b9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#417418",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 93.261,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.13254,
    "h": 134.6
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#417418
secondary
#7A3FA9
accent
#3FE99D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417418

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

Preview Lab → · Contrast checker → · Palette generator →

#417418 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva