#417A28#417A28

#417A28 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.2% C 0.130 H 137.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#417A28
RGBrgb(65, 122, 40)
HSLhsl(102, 51%, 32%)
HSVhsv(102, 67%, 48%)
CMYKcmyk(46.7%, 0%, 67.2%, 52.2%)
CIE-LABlab(45.90, -34.59, 37.89)
CIE-LCHlch(45.90, 51.31, 132.39°)
OKLaboklab(52.2% -0.0955 0.0874)
OKLCHoklch(52.2% 0.13 137.5)
XYZxyz(9.5222, 15.1955, 4.4383)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A28 #61287A
analogous
#6A7A28 #417A28 #287A38
triadic
#417A28 #28417A #7A2841
tetradic
#417A28 #286A7A #61287A #7A3828
square
#417A28 #286A7A #61287A #7A3828
split-complementary
#417A28 #38287A #7A286A
monochromatic
#101E0A #284C19 #417A28 #5AA837 #78C755

Accessibility & contrast

On white

5.20
#417A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#417A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A28
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A28#FFFFFF#000000##FFFFFF
##417A281.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701E
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#3E7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a28;
/* rgb */ color: rgb(65, 122, 40);
/* oklch */ color: oklch(52.2% 0.130 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ba166',
    500: '#417a28',
    950: '#000000',
  },
}
SCSS
$custom: #417a28;
$custom-light: #7ba166;
$custom-dark: #000000;
JSON
{
  "hex": "#417a28",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 101.707,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.1295,
    "h": 137.5
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#417A28
secondary
#9052AC
accent
#4EDAAF
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A28

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

Preview Lab → · Contrast checker → · Palette generator →

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