#417A16#417A16

#417A16 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.141 H 135.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#417A16
RGBrgb(65, 122, 22)
HSLhsl(94, 69%, 28%)
HSVhsv(94, 82%, 48%)
CMYKcmyk(46.7%, 0%, 82%, 52.2%)
CIE-LABlab(45.77, -35.98, 44.88)
CIE-LCHlch(45.77, 57.53, 128.72°)
OKLaboklab(52.05% -0.1006 0.0994)
OKLCHoklch(52.05% 0.141 135.3)
XYZxyz(9.2841, 15.1002, 3.1843)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A16 #4F167A
analogous
#737A16 #417A16 #167A1D
triadic
#417A16 #16417A #7A1641
tetradic
#417A16 #16737A #4F167A #7A1D16
square
#417A16 #16737A #4F167A #7A1D16
split-complementary
#417A16 #1D167A #7A1673
monochromatic
#0E1A05 #25460D #417A16 #5DAE1F #79DA31

Accessibility & contrast

On white

5.22
#417A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417A16
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A16#FFFFFF#000000##FFFFFF
##417A161.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417a16;
/* rgb */ color: rgb(65, 122, 22);
/* oklch */ color: oklch(52.1% 0.141 135.3);
Tailwind
colors: {
  custom: {
    50: '#7ca15d',
    500: '#417a16',
    950: '#000000',
  },
}
SCSS
$custom: #417a16;
$custom-light: #7ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#417a16",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 94.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.14145,
    "h": 135.3
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#417A16
secondary
#7E3DAF
accent
#3CECA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #417A16

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

Preview Lab → · Contrast checker → · Palette generator →

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