#417D2E#417D2E

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

Color values

HEX#417D2E
RGBrgb(65, 125, 46)
HSLhsl(106, 46%, 34%)
HSVhsv(106, 63%, 49%)
CMYKcmyk(48%, 0%, 63.2%, 51%)
CIE-LABlab(46.96, -35.28, 36.25)
CIE-LCHlch(46.96, 50.59, 134.22°)
OKLaboklab(53.09% -0.097 0.0846)
OKLCHoklch(53.09% 0.129 138.9)
XYZxyz(10.0064, 15.9876, 5.1429)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D2E #6A2E7D
analogous
#687D2E #417D2E #2E7D42
triadic
#417D2E #2E417D #7D2E41
tetradic
#417D2E #2E687D #6A2E7D #7D422E
square
#417D2E #2E687D #6A2E7D #7D422E
split-complementary
#417D2E #422E7D #7D2E68
monochromatic
#12240D #2A501E #417D2E #58AA3E #79C561

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417D2E#FFFFFF#000000##FFFFFF
##417D2E1.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)
#817325
Deuteranopia (green-blind)
#796D34
Tritanopia (blue-blind)
#3C796C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d2e;
/* rgb */ color: rgb(65, 125, 46);
/* oklch */ color: oklch(53.1% 0.129 138.9);
Tailwind
colors: {
  custom: {
    50: '#7ba36a',
    500: '#417d2e',
    950: '#000000',
  },
}
SCSS
$custom: #417d2e;
$custom-light: #7ba36a;
$custom-dark: #000000;
JSON
{
  "hex": "#417d2e",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 105.57,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.12872,
    "h": 138.9
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#417D2E
secondary
#985BAB
accent
#52D6B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #417D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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