#417A27#417A27

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

Color values

HEX#417A27
RGBrgb(65, 122, 39)
HSLhsl(101, 52%, 32%)
HSVhsv(101, 68%, 48%)
CMYKcmyk(46.7%, 0%, 68%, 52.2%)
CIE-LABlab(45.89, -34.69, 38.34)
CIE-LCHlch(45.89, 51.70, 132.14°)
OKLaboklab(52.19% -0.0959 0.0882)
OKLCHoklch(52.19% 0.13 137.4)
XYZxyz(9.5054, 15.1888, 4.3499)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A27 #60277A
analogous
#6B7A27 #417A27 #277A37
triadic
#417A27 #27417A #7A2741
tetradic
#417A27 #276B7A #60277A #7A3727
square
#417A27 #276B7A #60277A #7A3727
split-complementary
#417A27 #37277A #7A276B
monochromatic
#101D09 #284C18 #417A27 #5AA836 #78C853

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417A27#FFFFFF#000000##FFFFFF
##417A271.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)
#7E701C
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#3E7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a27;
/* rgb */ color: rgb(65, 122, 39);
/* oklch */ color: oklch(52.2% 0.130 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ba165',
    500: '#417a27',
    950: '#000000',
  },
}
SCSS
$custom: #417a27;
$custom-light: #7ba165;
$custom-dark: #000000;
JSON
{
  "hex": "#417a27",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 101.205,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.1303,
    "h": 137.4
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#417A27
secondary
#8F51AC
accent
#4DDBAE
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A27

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

Preview Lab → · Contrast checker → · Palette generator →

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