#417A25#417A25

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

Color values

HEX#417A25
RGBrgb(65, 122, 37)
HSLhsl(100, 53%, 31%)
HSVhsv(100, 70%, 48%)
CMYKcmyk(46.7%, 0%, 69.7%, 52.2%)
CIE-LABlab(45.87, -34.88, 39.21)
CIE-LCHlch(45.87, 52.48, 131.65°)
OKLaboklab(52.17% -0.0965 0.0898)
OKLCHoklch(52.17% 0.132 137.1)
XYZxyz(9.4732, 15.1759, 4.1800)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A25 #5E257A
analogous
#6B7A25 #417A25 #257A33
triadic
#417A25 #25417A #7A2541
tetradic
#417A25 #256B7A #5E257A #7A3325
square
#417A25 #256B7A #5E257A #7A3325
split-complementary
#417A25 #33257A #7A256B
monochromatic
#0F1C09 #284B17 #417A25 #5AA933 #78CA50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417A25#FFFFFF#000000##FFFFFF
##417A251.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)
#7E7019
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#3E7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a25;
/* rgb */ color: rgb(65, 122, 37);
/* oklch */ color: oklch(52.2% 0.132 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba164',
    500: '#417a25',
    950: '#000000',
  },
}
SCSS
$custom: #417a25;
$custom-light: #7ba164;
$custom-dark: #000000;
JSON
{
  "hex": "#417a25",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 100.235,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.13185,
    "h": 137.1
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#417A25
secondary
#8D4EAC
accent
#4BDDAD
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A25

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

Preview Lab → · Contrast checker → · Palette generator →

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