#417D14#417D14

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

Color values

HEX#417D14
RGBrgb(65, 125, 20)
HSLhsl(94, 72%, 28%)
HSVhsv(94, 84%, 49%)
CMYKcmyk(48%, 0%, 84%, 51%)
CIE-LABlab(46.77, -37.37, 46.42)
CIE-LCHlch(46.77, 59.59, 128.83°)
OKLaboklab(52.87% -0.1044 0.1023)
OKLCHoklch(52.87% 0.146 135.6)
XYZxyz(9.6396, 15.8409, 3.2114)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D14 #50147D
analogous
#757D14 #417D14 #147D1C
triadic
#417D14 #14417D #7D1441
tetradic
#417D14 #14757D #50147D #7D1C14
square
#417D14 #14757D #50147D #7D1C14
split-complementary
#417D14 #1C147D #7D1475
monochromatic
#0E1A04 #26480C #417D14 #5CB21C #79DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417D14#FFFFFF#000000##FFFFFF
##417D141.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)
#7A6D21
Tritanopia (blue-blind)
#3F786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d14;
/* rgb */ color: rgb(65, 125, 20);
/* oklch */ color: oklch(52.9% 0.146 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ca35c',
    500: '#417d14',
    950: '#000000',
  },
}
SCSS
$custom: #417d14;
$custom-light: #7ca35c;
$custom-dark: #000000;
JSON
{
  "hex": "#417d14",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 94.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.14622,
    "h": 135.6
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#417D14
secondary
#7F3AB2
accent
#39EFA1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #417D14

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

Preview Lab → · Contrast checker → · Palette generator →

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