#417E28#417E28

#417E28 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.3% C 0.135 H 137.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#417E28
RGBrgb(65, 126, 40)
HSLhsl(103, 52%, 33%)
HSVhsv(103, 68%, 49%)
CMYKcmyk(48.4%, 0%, 68.3%, 50.6%)
CIE-LABlab(47.23, -36.33, 39.34)
CIE-LCHlch(47.23, 53.55, 132.72°)
OKLaboklab(53.29% -0.1003 0.0905)
OKLCHoklch(53.29% 0.135 137.9)
XYZxyz(10.0235, 16.1981, 4.6054)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E28 #65287E
analogous
#6C7E28 #417E28 #287E3A
triadic
#417E28 #28417E #7E2841
tetradic
#417E28 #286C7E #65287E #7E3A28
square
#417E28 #286C7E #65287E #7E3A28
split-complementary
#417E28 #3A287E #7E286C
monochromatic
#11210B #295019 #417E28 #59AC37 #78CA57

Accessibility & contrast

On white

4.95
#417E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#417E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417E28
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E28#FFFFFF#000000##FFFFFF
##417E281.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#3D7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e28;
/* rgb */ color: rgb(65, 126, 40);
/* oklch */ color: oklch(53.3% 0.135 137.9);
Tailwind
colors: {
  custom: {
    50: '#7ba466',
    500: '#417e28',
    950: '#000000',
  },
}
SCSS
$custom: #417e28;
$custom-light: #7ba466;
$custom-dark: #000000;
JSON
{
  "hex": "#417e28",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 102.558,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.13504,
    "h": 137.9
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#417E28
secondary
#9453AF
accent
#4DDBB2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417E28

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

Preview Lab → · Contrast checker → · Palette generator →

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