#417D27#417D27

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

Color values

HEX#417D27
RGBrgb(65, 125, 39)
HSLhsl(102, 52%, 32%)
HSVhsv(102, 69%, 49%)
CMYKcmyk(48%, 0%, 68.8%, 51%)
CIE-LABlab(46.89, -35.99, 39.42)
CIE-LCHlch(46.89, 53.38, 132.40°)
OKLaboklab(53.01% -0.0994 0.0905)
OKLCHoklch(53.01% 0.134 137.7)
XYZxyz(9.8795, 15.9369, 4.4746)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D27 #63277D
analogous
#6C7D27 #417D27 #277D38
triadic
#417D27 #27417D #7D2741
tetradic
#417D27 #276C7D #63277D #7D3827
square
#417D27 #276C7D #63277D #7D3827
split-complementary
#417D27 #38277D #7D276C
monochromatic
#10200A #294E18 #417D27 #59AC36 #78CA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417D27#FFFFFF#000000##FFFFFF
##417D271.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)
#81721B
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#3D796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d27;
/* rgb */ color: rgb(65, 125, 39);
/* oklch */ color: oklch(53.0% 0.134 137.7);
Tailwind
colors: {
  custom: {
    50: '#7ba366',
    500: '#417d27',
    950: '#000000',
  },
}
SCSS
$custom: #417d27;
$custom-light: #7ba366;
$custom-dark: #000000;
JSON
{
  "hex": "#417d27",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 101.86,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.13444,
    "h": 137.7
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#417D27
secondary
#9251AF
accent
#4CDCB0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417D27

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

Preview Lab → · Contrast checker → · Palette generator →

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