#417A14#417A14

#417A14 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.0% C 0.142 H 135.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#417A14
RGBrgb(65, 122, 20)
HSLhsl(94, 72%, 28%)
HSVhsv(94, 84%, 48%)
CMYKcmyk(46.7%, 0%, 83.6%, 52.2%)
CIE-LABlab(45.76, -36.09, 45.50)
CIE-LCHlch(45.76, 58.08, 128.42°)
OKLaboklab(52.04% -0.101 0.1004)
OKLCHoklch(52.04% 0.142 135.2)
XYZxyz(9.2656, 15.0928, 3.0867)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A14 #4D147A
analogous
#747A14 #417A14 #147A1A
triadic
#417A14 #14417A #7A1441
tetradic
#417A14 #14747A #4D147A #7A1A14
square
#417A14 #14747A #4D147A #7A1A14
split-complementary
#417A14 #1A147A #7A1474
monochromatic
#0E1A04 #25450B #417A14 #5DAF1D #7ADC2C

Accessibility & contrast

On white

5.23
#417A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#417A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A14
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A14#FFFFFF#000000##FFFFFF
##417A141.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#3F7567
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417a14;
/* rgb */ color: rgb(65, 122, 20);
/* oklch */ color: oklch(52.0% 0.142 135.2);
Tailwind
colors: {
  custom: {
    50: '#7ca15c',
    500: '#417a14',
    950: '#000000',
  },
}
SCSS
$custom: #417a14;
$custom-light: #7ca15c;
$custom-dark: #000000;
JSON
{
  "hex": "#417a14",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 93.529,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.14243,
    "h": 135.2
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#417A14
secondary
#7C3AB0
accent
#39EF9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #417A14

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

Preview Lab → · Contrast checker → · Palette generator →

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