#417E12#417E12

#417E12 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.1% C 0.148 H 135.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#417E12
RGBrgb(65, 126, 18)
HSLhsl(94, 75%, 28%)
HSVhsv(94, 86%, 49%)
CMYKcmyk(48.4%, 0%, 85.7%, 50.6%)
CIE-LABlab(47.09, -37.88, 47.29)
CIE-LCHlch(47.09, 60.59, 128.70°)
OKLaboklab(53.13% -0.1059 0.1039)
OKLCHoklch(53.13% 0.148 135.6)
XYZxyz(9.7498, 16.0886, 3.1638)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E12 #4F127E
analogous
#777E12 #417E12 #127E19
triadic
#417E12 #12417E #7E1241
tetradic
#417E12 #12777E #4F127E #7E1912
square
#417E12 #12777E #4F127E #7E1912
split-complementary
#417E12 #19127E #7E1277
monochromatic
#0E1B04 #25480A #417E12 #5DB41A #79E12A

Accessibility & contrast

On white

4.98
#417E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#417E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417E12
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E12#FFFFFF#000000##FFFFFF
##417E121.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#3F796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e12;
/* rgb */ color: rgb(65, 126, 18);
/* oklch */ color: oklch(53.1% 0.148 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ca45c',
    500: '#417e12',
    950: '#000000',
  },
}
SCSS
$custom: #417e12;
$custom-light: #7ca45c;
$custom-dark: #000000;
JSON
{
  "hex": "#417e12",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 93.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53131,
    "c": 0.14836,
    "h": 135.6
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#417E12
secondary
#7E38B4
accent
#36F2A0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417E12

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

Preview Lab → · Contrast checker → · Palette generator →

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