#417D26#417D26

#417D26 is a mid, vivid green. Relative luminance 0.159; OKLCH L 53.0% C 0.135 H 137.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#417D26
RGBrgb(65, 125, 38)
HSLhsl(101, 53%, 32%)
HSVhsv(101, 70%, 49%)
CMYKcmyk(48%, 0%, 69.6%, 51%)
CIE-LABlab(46.88, -36.09, 39.85)
CIE-LCHlch(46.88, 53.76, 132.17°)
OKLaboklab(53% -0.0998 0.0913)
OKLCHoklch(53% 0.135 137.5)
XYZxyz(9.8631, 15.9303, 4.3885)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D26 #62267D
analogous
#6D7D26 #417D26 #267D37
triadic
#417D26 #26417D #7D2641
tetradic
#417D26 #266D7D #62267D #7D3726
square
#417D26 #266D7D #62267D #7D3726
split-complementary
#417D26 #37267D #7D266D
monochromatic
#101F09 #294E18 #417D26 #59AC34 #78CB53

Accessibility & contrast

On white

5.02
#417D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#417D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D26
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D26#FFFFFF#000000##FFFFFF
##417D261.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#3D796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d26;
/* rgb */ color: rgb(65, 125, 38);
/* oklch */ color: oklch(53.0% 0.135 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ba365',
    500: '#417d26',
    950: '#000000',
  },
}
SCSS
$custom: #417d26;
$custom-light: #7ba365;
$custom-dark: #000000;
JSON
{
  "hex": "#417d26",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 101.379,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53001,
    "c": 0.13521,
    "h": 137.5
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#417D26
secondary
#9150AF
accent
#4BDDB0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417D26

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

Preview Lab → · Contrast checker → · Palette generator →

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