#417D13#417D13

#417D13 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.147 H 135.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#417D13
RGBrgb(65, 125, 19)
HSLhsl(94, 74%, 28%)
HSVhsv(94, 85%, 49%)
CMYKcmyk(48%, 0%, 84.8%, 51%)
CIE-LABlab(46.76, -37.42, 46.71)
CIE-LCHlch(46.76, 59.85, 128.70°)
OKLaboklab(52.86% -0.1046 0.1028)
OKLCHoklch(52.86% 0.147 135.5)
XYZxyz(9.6309, 15.8375, 3.1654)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D13 #4F137D
analogous
#767D13 #417D13 #137D1A
triadic
#417D13 #13417D #7D1341
tetradic
#417D13 #13767D #4F137D #7D1A13
square
#417D13 #13767D #4F137D #7D1A13
split-complementary
#417D13 #1A137D #7D1376
monochromatic
#0E1B04 #25480B #417D13 #5DB21B #79DF2C

Accessibility & contrast

On white

5.04
#417D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#417D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D13
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D13#FFFFFF#000000##FFFFFF
##417D131.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#3F786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d13;
/* rgb */ color: rgb(65, 125, 19);
/* oklch */ color: oklch(52.9% 0.147 135.5);
Tailwind
colors: {
  custom: {
    50: '#7ca35c',
    500: '#417d13',
    950: '#000000',
  },
}
SCSS
$custom: #417d13;
$custom-light: #7ca35c;
$custom-dark: #000000;
JSON
{
  "hex": "#417d13",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 93.962,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.14668,
    "h": 135.5
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#417D13
secondary
#7E39B3
accent
#38F0A0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417D13

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

Preview Lab → · Contrast checker → · Palette generator →

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