#417A26#417A26

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

Color values

HEX#417A26
RGBrgb(65, 122, 38)
HSLhsl(101, 53%, 31%)
HSVhsv(101, 69%, 48%)
CMYKcmyk(46.7%, 0%, 68.9%, 52.2%)
CIE-LABlab(45.88, -34.78, 38.78)
CIE-LCHlch(45.88, 52.09, 131.89°)
OKLaboklab(52.18% -0.0962 0.089)
OKLCHoklch(52.18% 0.131 137.2)
XYZxyz(9.4891, 15.1822, 4.2638)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A26 #5F267A
analogous
#6B7A26 #417A26 #267A35
triadic
#417A26 #26417A #7A2641
tetradic
#417A26 #266B7A #5F267A #7A3526
square
#417A26 #266B7A #5F267A #7A3526
split-complementary
#417A26 #35267A #7A266B
monochromatic
#0F1D09 #284B17 #417A26 #5AA935 #78C951

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417A26#FFFFFF#000000##FFFFFF
##417A261.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)
#7E701B
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#3E7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a26;
/* rgb */ color: rgb(65, 122, 38);
/* oklch */ color: oklch(52.2% 0.131 137.2);
Tailwind
colors: {
  custom: {
    50: '#7ba165',
    500: '#417a26',
    950: '#000000',
  },
}
SCSS
$custom: #417a26;
$custom-light: #7ba165;
$custom-dark: #000000;
JSON
{
  "hex": "#417a26",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 100.714,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.13108,
    "h": 137.2
  },
  "luminance": 0.15183
}

Semantic roles & 50–950 ramp

primary
#417A26
secondary
#8E50AC
accent
#4CDCAE
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A26

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

Preview Lab → · Contrast checker → · Palette generator →

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