#417C27#417C27

#417C27 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.133 H 137.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#417C27
RGBrgb(65, 124, 39)
HSLhsl(102, 52%, 32%)
HSVhsv(102, 69%, 49%)
CMYKcmyk(47.6%, 0%, 68.5%, 51.4%)
CIE-LABlab(46.56, -35.56, 39.06)
CIE-LCHlch(46.56, 52.82, 132.32°)
OKLaboklab(52.74% -0.0983 0.0897)
OKLCHoklch(52.74% 0.133 137.6)
XYZxyz(9.7535, 15.6850, 4.4326)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C27 #62277C
analogous
#6C7C27 #417C27 #277C38
triadic
#417C27 #27417C #7C2741
tetradic
#417C27 #276C7C #62277C #7C3827
square
#417C27 #276C7C #62277C #7C3827
split-complementary
#417C27 #38277C #7C276C
monochromatic
#101F0A #294D18 #417C27 #59AB36 #78C954

Accessibility & contrast

On white

5.08
#417C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#417C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C27
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C27#FFFFFF#000000##FFFFFF
##417C271.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711C
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#3D786B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c27;
/* rgb */ color: rgb(65, 124, 39);
/* oklch */ color: oklch(52.7% 0.133 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ba266',
    500: '#417c27',
    950: '#000000',
  },
}
SCSS
$custom: #417c27;
$custom-light: #7ba266;
$custom-dark: #000000;
JSON
{
  "hex": "#417c27",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 101.647,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.13307,
    "h": 137.6
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#417C27
secondary
#9151AE
accent
#4CDCB0
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417C27

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

Preview Lab → · Contrast checker → · Palette generator →

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