#417D2F#417D2F

#417D2F is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.1% C 0.128 H 139.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#417D2F
RGBrgb(65, 125, 47)
HSLhsl(106, 45%, 34%)
HSVhsv(106, 62%, 49%)
CMYKcmyk(48%, 0%, 62.4%, 51%)
CIE-LABlab(46.97, -35.17, 35.78)
CIE-LCHlch(46.97, 50.17, 134.50°)
OKLaboklab(53.1% -0.0966 0.0837)
OKLCHoklch(53.1% 0.128 139.1)
XYZxyz(10.0263, 15.9956, 5.2479)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D2F #6B2F7D
analogous
#687D2F #417D2F #2F7D44
triadic
#417D2F #2F417D #7D2F41
tetradic
#417D2F #2F687D #6B2F7D #7D442F
square
#417D2F #2F687D #6B2F7D #7D442F
split-complementary
#417D2F #442F7D #7D2F68
monochromatic
#13240E #2A511E #417D2F #58A940 #79C462

Accessibility & contrast

On white

5.00
#417D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#417D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D2F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D2F#FFFFFF#000000##FFFFFF
##417D2F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417d2f;
/* rgb */ color: rgb(65, 125, 47);
/* oklch */ color: oklch(53.1% 0.128 139.1);
Tailwind
colors: {
  custom: {
    50: '#7ba36b',
    500: '#417d2f',
    950: '#000000',
  },
}
SCSS
$custom: #417d2f;
$custom-light: #7ba36b;
$custom-dark: #000000;
JSON
{
  "hex": "#417d2f",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 106.154,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53098,
    "c": 0.12784,
    "h": 139.1
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#417D2F
secondary
#995DAB
accent
#53D5B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #417D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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