#417E13#417E13

#417E13 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#417E13
RGBrgb(65, 126, 19)
HSLhsl(94, 74%, 28%)
HSVhsv(94, 85%, 49%)
CMYKcmyk(48.4%, 0%, 84.9%, 50.6%)
CIE-LABlab(47.09, -37.84, 47.01)
CIE-LCHlch(47.09, 60.35, 128.83°)
OKLaboklab(53.14% -0.1058 0.1034)
OKLCHoklch(53.14% 0.148 135.6)
XYZxyz(9.7581, 16.0919, 3.2078)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E13 #50137E
analogous
#767E13 #417E13 #137E1B
triadic
#417E13 #13417E #7E1341
tetradic
#417E13 #13767E #50137E #7E1B13
square
#417E13 #13767E #50137E #7E1B13
split-complementary
#417E13 #1B137E #7E1376
monochromatic
#0E1B04 #26490B #417E13 #5CB31B #79DF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417E13#FFFFFF#000000##FFFFFF
##417E131.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: #417e13;
/* rgb */ color: rgb(65, 126, 19);
/* oklch */ color: oklch(53.1% 0.148 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ca45c',
    500: '#417e13',
    950: '#000000',
  },
}
SCSS
$custom: #417e13;
$custom-light: #7ca45c;
$custom-dark: #000000;
JSON
{
  "hex": "#417e13",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 94.206,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.14793,
    "h": 135.6
  },
  "luminance": 0.16093
}

Semantic roles & 50–950 ramp

primary
#417E13
secondary
#7F39B4
accent
#37F0A1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417E13

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

Preview Lab → · Contrast checker → · Palette generator →

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