#417A15#417A15

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

Color values

HEX#417A15
RGBrgb(65, 122, 21)
HSLhsl(94, 71%, 28%)
HSVhsv(94, 83%, 48%)
CMYKcmyk(46.7%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.77, -36.04, 45.20)
CIE-LCHlch(45.77, 57.81, 128.57°)
OKLaboklab(52.05% -0.1008 0.0999)
OKLCHoklch(52.05% 0.142 135.3)
XYZxyz(9.2747, 15.0965, 3.1345)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A15 #4E157A
analogous
#737A15 #417A15 #157A1B
triadic
#417A15 #15417A #7A1541
tetradic
#417A15 #15737A #4E157A #7A1B15
square
#417A15 #15737A #4E157A #7A1B15
split-complementary
#417A15 #1B157A #7A1573
monochromatic
#0E1A04 #25460C #417A15 #5DAE1E #7ADB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417A15#FFFFFF#000000##FFFFFF
##417A151.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: #417a15;
/* rgb */ color: rgb(65, 122, 21);
/* oklch */ color: oklch(52.0% 0.142 135.3);
Tailwind
colors: {
  custom: {
    50: '#7ca15c',
    500: '#417a15',
    950: '#000000',
  },
}
SCSS
$custom: #417a15;
$custom-light: #7ca15c;
$custom-dark: #000000;
JSON
{
  "hex": "#417a15",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 93.861,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.14195,
    "h": 135.3
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#417A15
secondary
#7D3BAF
accent
#3AED9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #417A15

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

Preview Lab → · Contrast checker → · Palette generator →

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