#417A2F#417A2F

#417A2F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.3% C 0.124 H 138.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#417A2F
RGBrgb(65, 122, 47)
HSLhsl(106, 44%, 33%)
HSVhsv(106, 61%, 48%)
CMYKcmyk(46.7%, 0%, 61.5%, 52.2%)
CIE-LABlab(45.97, -33.84, 34.64)
CIE-LCHlch(45.97, 48.43, 134.33°)
OKLaboklab(52.28% -0.093 0.0813)
OKLCHoklch(52.28% 0.124 138.9)
XYZxyz(9.6523, 15.2475, 5.1232)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A2F #682F7A
analogous
#667A2F #417A2F #2F7A42
triadic
#417A2F #2F417A #7A2F41
tetradic
#417A2F #2F667A #682F7A #7A422F
square
#417A2F #2F667A #682F7A #7A422F
split-complementary
#417A2F #422F7A #7A2F66
monochromatic
#12220D #294E1E #417A2F #59A640 #78C261

Accessibility & contrast

On white

5.19
#417A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#417A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A2F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A2F#FFFFFF#000000##FFFFFF
##417A2F1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#3D766A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a2f;
/* rgb */ color: rgb(65, 122, 47);
/* oklch */ color: oklch(52.3% 0.124 138.9);
Tailwind
colors: {
  custom: {
    50: '#7aa16a',
    500: '#417a2f',
    950: '#000000',
  },
}
SCSS
$custom: #417a2f;
$custom-light: #7aa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#417a2f",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 105.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.12351,
    "h": 138.9
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

primary
#417A2F
secondary
#975CA9
accent
#54D4B5
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F07
muted
#7C7E7A

Preview Lab

Preview with #417A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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