#417A1A#417A1A

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

Color values

HEX#417A1A
RGBrgb(65, 122, 26)
HSLhsl(96, 65%, 29%)
HSVhsv(96, 79%, 48%)
CMYKcmyk(46.7%, 0%, 78.7%, 52.2%)
CIE-LABlab(45.79, -35.74, 43.54)
CIE-LCHlch(45.79, 56.33, 129.38°)
OKLaboklab(52.08% -0.0997 0.0972)
OKLCHoklch(52.08% 0.139 135.7)
XYZxyz(9.3257, 15.1169, 3.4035)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A1A #531A7A
analogous
#717A1A #417A1A #1A7A23
triadic
#417A1A #1A417A #7A1A41
tetradic
#417A1A #1A717A #531A7A #7A231A
square
#417A1A #1A717A #531A7A #7A231A
split-complementary
#417A1A #231A7A #7A1A71
monochromatic
#0D1905 #26480F #417A1A #5CAC25 #79D539

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417A1A#FFFFFF#000000##FFFFFF
##417A1A1.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)
#7F6F04
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#3F7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417a1a;
/* rgb */ color: rgb(65, 122, 26);
/* oklch */ color: oklch(52.1% 0.139 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ba15e',
    500: '#417a1a',
    950: '#000000',
  },
}
SCSS
$custom: #417a1a;
$custom-light: #7ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#417a1a",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 95.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.13926,
    "h": 135.7
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#417A1A
secondary
#8241AE
accent
#40E8A4
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #417A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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