#417412#417412

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

Color values

HEX#417412
RGBrgb(65, 116, 18)
HSLhsl(91, 73%, 26%)
HSVhsv(91, 84%, 45%)
CMYKcmyk(44%, 0%, 84.5%, 54.5%)
CIE-LABlab(43.74, -33.59, 44.26)
CIE-LCHlch(43.74, 55.56, 127.20°)
OKLaboklab(50.38% -0.0945 0.0975)
OKLCHoklch(50.38% 0.136 134.1)
XYZxyz(8.5344, 13.6578, 2.7587)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417412 #451274
analogous
#727412 #417412 #127414
triadic
#417412 #124174 #741241
tetradic
#417412 #127274 #451274 #741412
square
#417412 #127274 #451274 #741412
split-complementary
#417412 #141274 #741272
monochromatic
#0F1A04 #233F0A #417412 #5FA91A #7CDD23

Accessibility & contrast

On white

5.63
#417412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#417412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417412
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417412#FFFFFF#000000##FFFFFF
##4174121.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#406F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417412;
/* rgb */ color: rgb(65, 116, 18);
/* oklch */ color: oklch(50.4% 0.136 134.1);
Tailwind
colors: {
  custom: {
    50: '#7b9c5a',
    500: '#417412',
    950: '#000000',
  },
}
SCSS
$custom: #417412;
$custom-light: #7b9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#417412",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 91.224,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.13571,
    "h": 134.1
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

primary
#417412
secondary
#7337AB
accent
#38F098
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417412

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

Preview Lab → · Contrast checker → · Palette generator →

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