#417F2F#417F2F

#417F2F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.131 H 139.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#417F2F
RGBrgb(65, 127, 47)
HSLhsl(107, 46%, 34%)
HSVhsv(107, 63%, 50%)
CMYKcmyk(48.8%, 0%, 63%, 50.2%)
CIE-LABlab(47.63, -36.04, 36.54)
CIE-LCHlch(47.63, 51.32, 134.61°)
OKLaboklab(53.64% -0.099 0.0853)
OKLCHoklch(53.64% 0.131 139.2)
XYZxyz(10.2820, 16.5071, 5.3332)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F2F #6D2F7F
analogous
#697F2F #417F2F #2F7F45
triadic
#417F2F #2F417F #7F2F41
tetradic
#417F2F #2F697F #6D2F7F #7F452F
square
#417F2F #2F697F #6D2F7F #7F452F
split-complementary
#417F2F #452F7F #7F2F69
monochromatic
#13260E #2A521E #417F2F #58AC40 #79C563

Accessibility & contrast

On white

4.88
#417F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#417F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417F2F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F2F#FFFFFF#000000##FFFFFF
##417F2F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837426
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#3C7B6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f2f;
/* rgb */ color: rgb(65, 127, 47);
/* oklch */ color: oklch(53.6% 0.131 139.2);
Tailwind
colors: {
  custom: {
    50: '#7ba56b',
    500: '#417f2f',
    950: '#000000',
  },
}
SCSS
$custom: #417f2f;
$custom-light: #7ba56b;
$custom-dark: #000000;
JSON
{
  "hex": "#417f2f",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 106.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.13069,
    "h": 139.2
  },
  "luminance": 0.16508
}

Semantic roles & 50–950 ramp

primary
#417F2F
secondary
#9B5EAC
accent
#52D6B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #417F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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