#417D2A#417D2A

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

Color values

HEX#417D2A
RGBrgb(65, 125, 42)
HSLhsl(103, 50%, 33%)
HSVhsv(103, 66%, 49%)
CMYKcmyk(48%, 0%, 66.4%, 51%)
CIE-LABlab(46.92, -35.70, 38.09)
CIE-LCHlch(46.92, 52.21, 133.15°)
OKLaboklab(53.04% -0.0984 0.0881)
OKLCHoklch(53.04% 0.132 138.2)
XYZxyz(9.9312, 15.9576, 4.7468)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D2A #662A7D
analogous
#6B7D2A #417D2A #2A7D3C
triadic
#417D2A #2A417D #7D2A41
tetradic
#417D2A #2A6B7D #662A7D #7D3C2A
square
#417D2A #2A6B7D #662A7D #7D3C2A
split-complementary
#417D2A #3C2A7D #7D2A6B
monochromatic
#11210B #294F1B #417D2A #59AB39 #78C85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417D2A#FFFFFF#000000##FFFFFF
##417D2A1.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)
#817220
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#3D796C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d2a;
/* rgb */ color: rgb(65, 125, 42);
/* oklch */ color: oklch(53.0% 0.132 138.2);
Tailwind
colors: {
  custom: {
    50: '#7ba367',
    500: '#417d2a',
    950: '#000000',
  },
}
SCSS
$custom: #417d2a;
$custom-light: #7ba367;
$custom-dark: #000000;
JSON
{
  "hex": "#417d2a",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 103.373,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.13207,
    "h": 138.2
  },
  "luminance": 0.15958
}

Semantic roles & 50–950 ramp

primary
#417D2A
secondary
#9556AD
accent
#4FD9B3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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