#417D2C#417D2C

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

Color values

HEX#417D2C
RGBrgb(65, 125, 44)
HSLhsl(104, 48%, 33%)
HSVhsv(104, 65%, 49%)
CMYKcmyk(48%, 0%, 64.8%, 51%)
CIE-LABlab(46.94, -35.49, 37.18)
CIE-LCHlch(46.94, 51.40, 133.67°)
OKLaboklab(53.06% -0.0977 0.0864)
OKLCHoklch(53.06% 0.13 138.5)
XYZxyz(9.9679, 15.9722, 4.9401)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D2C #682C7D
analogous
#697D2C #417D2C #2C7D3F
triadic
#417D2C #2C417D #7D2C41
tetradic
#417D2C #2C697D #682C7D #7D3F2C
square
#417D2C #2C697D #682C7D #7D3F2C
split-complementary
#417D2C #3F2C7D #7D2C69
monochromatic
#12220C #29501C #417D2C #59AA3C #78C65D

Accessibility & contrast

On white

5.01
#417D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#417D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D2C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D2C#FFFFFF#000000##FFFFFF
##417D2C1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817223
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#3D796C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d2c;
/* rgb */ color: rgb(65, 125, 44);
/* oklch */ color: oklch(53.1% 0.130 138.5);
Tailwind
colors: {
  custom: {
    50: '#7ba369',
    500: '#417d2c',
    950: '#000000',
  },
}
SCSS
$custom: #417d2c;
$custom-light: #7ba369;
$custom-dark: #000000;
JSON
{
  "hex": "#417d2c",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 104.444,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.13042,
    "h": 138.5
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#417D2C
secondary
#9759AC
accent
#50D8B4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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