#417D28#417D28

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

Color values

HEX#417D28
RGBrgb(65, 125, 40)
HSLhsl(102, 52%, 32%)
HSVhsv(102, 68%, 49%)
CMYKcmyk(48%, 0%, 68%, 51%)
CIE-LABlab(46.90, -35.90, 38.98)
CIE-LCHlch(46.90, 52.99, 132.64°)
OKLaboklab(53.02% -0.0991 0.0897)
OKLCHoklch(53.02% 0.134 137.9)
XYZxyz(9.8963, 15.9436, 4.5630)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D28 #64287D
analogous
#6C7D28 #417D28 #287D3A
triadic
#417D28 #28417D #7D2841
tetradic
#417D28 #286C7D #64287D #7D3A28
square
#417D28 #286C7D #64287D #7D3A28
split-complementary
#417D28 #3A287D #7D286C
monochromatic
#11200A #294F19 #417D28 #59AB37 #78C956

Accessibility & contrast

On white

5.01
#417D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417D28
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D28#FFFFFF#000000##FFFFFF
##417D281.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417d28;
/* rgb */ color: rgb(65, 125, 40);
/* oklch */ color: oklch(53.0% 0.134 137.9);
Tailwind
colors: {
  custom: {
    50: '#7ba366',
    500: '#417d28',
    950: '#000000',
  },
}
SCSS
$custom: #417d28;
$custom-light: #7ba366;
$custom-dark: #000000;
JSON
{
  "hex": "#417d28",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 102.353,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.13367,
    "h": 137.9
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#417D28
secondary
#9353AE
accent
#4DDBB1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417D28

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

Preview Lab → · Contrast checker → · Palette generator →

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