#417C2F#417C2F

#417C2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.8% C 0.126 H 139.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#417C2F
RGBrgb(65, 124, 47)
HSLhsl(106, 45%, 34%)
HSVhsv(106, 62%, 49%)
CMYKcmyk(47.6%, 0%, 62.1%, 51.4%)
CIE-LABlab(46.64, -34.73, 35.40)
CIE-LCHlch(46.64, 49.59, 134.45°)
OKLaboklab(52.83% -0.0954 0.0829)
OKLCHoklch(52.83% 0.126 139)
XYZxyz(9.9004, 15.7437, 5.2059)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C2F #6A2F7C
analogous
#677C2F #417C2F #2F7C43
triadic
#417C2F #2F417C #7C2F41
tetradic
#417C2F #2F677C #6A2F7C #7C432F
square
#417C2F #2F677C #6A2F7C #7C432F
split-complementary
#417C2F #432F7C #7C2F67
monochromatic
#12230D #2A501E #417C2F #58A840 #79C362

Accessibility & contrast

On white

5.06
#417C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#417C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C2F#FFFFFF#000000##FFFFFF
##417C2F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#3C786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417c2f;
/* rgb */ color: rgb(65, 124, 47);
/* oklch */ color: oklch(52.8% 0.126 139.0);
Tailwind
colors: {
  custom: {
    50: '#7ba26a',
    500: '#417c2f',
    950: '#000000',
  },
}
SCSS
$custom: #417c2f;
$custom-light: #7ba26a;
$custom-dark: #000000;
JSON
{
  "hex": "#417c2f",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 105.974,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.1264,
    "h": 139
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#417C2F
secondary
#985CAA
accent
#53D5B6
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #417C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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