#417D40#417D40

#417D40 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.3% C 0.111 H 143.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#417D40
RGBrgb(65, 125, 64)
HSLhsl(119, 32%, 37%)
HSVhsv(119, 49%, 49%)
CMYKcmyk(48%, 0%, 48.8%, 51%)
CIE-LABlab(47.18, -32.90, 27.25)
CIE-LCHlch(47.18, 42.72, 140.37°)
OKLaboklab(53.35% -0.0896 0.0663)
OKLCHoklch(53.35% 0.111 143.5)
XYZxyz(10.4385, 16.1605, 7.4187)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D40 #7C407D
analogous
#607D40 #417D40 #407D5E
triadic
#417D40 #40417D #7D4041
tetradic
#417D40 #40607D #7C407D #7D5E40
square
#417D40 #40607D #7C407D #7D5E40
split-complementary
#417D40 #5E407D #7D4060
monochromatic
#172C17 #2C552B #417D40 #56A555 #7DBC7C

Accessibility & contrast

On white

4.96
#417D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#417D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D40
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D40#FFFFFF#000000##FFFFFF
##417D401.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#776E44
Tritanopia (blue-blind)
#397A6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417d40;
/* rgb */ color: rgb(65, 125, 64);
/* oklch */ color: oklch(53.3% 0.111 143.5);
Tailwind
colors: {
  custom: {
    50: '#7aa376',
    500: '#417d40',
    950: '#000000',
  },
}
SCSS
$custom: #417d40;
$custom-light: #7aa376;
$custom-dark: #000000;
JSON
{
  "hex": "#417d40",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 119.016,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.11141,
    "h": 143.5
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#417D40
secondary
#A573A6
accent
#5FC8C7
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #417D40

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

Preview Lab → · Contrast checker → · Palette generator →

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