#417A2D#417A2D

#417A2D is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.3% C 0.125 H 138.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#417A2D
RGBrgb(65, 122, 45)
HSLhsl(104, 46%, 33%)
HSVhsv(104, 63%, 48%)
CMYKcmyk(46.7%, 0%, 63.1%, 52.2%)
CIE-LABlab(45.95, -34.07, 35.60)
CIE-LCHlch(45.95, 49.27, 133.75°)
OKLaboklab(52.26% -0.0938 0.0831)
OKLCHoklch(52.26% 0.125 138.5)
XYZxyz(9.6128, 15.2317, 4.9156)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A2D #662D7A
analogous
#677A2D #417A2D #2D7A40
triadic
#417A2D #2D417A #7A2D41
tetradic
#417A2D #2D677A #662D7A #7A402D
square
#417A2D #2D677A #662D7A #7A402D
split-complementary
#417A2D #402D7A #7A2D67
monochromatic
#11210C #294D1D #417A2D #59A73D #78C45E

Accessibility & contrast

On white

5.19
#417A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#417A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A2D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A2D#FFFFFF#000000##FFFFFF
##417A2D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7024
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#3D766A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a2d;
/* rgb */ color: rgb(65, 122, 45);
/* oklch */ color: oklch(52.3% 0.125 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aa169',
    500: '#417a2d',
    950: '#000000',
  },
}
SCSS
$custom: #417a2d;
$custom-light: #7aa169;
$custom-dark: #000000;
JSON
{
  "hex": "#417a2d",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 104.416,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.12529,
    "h": 138.5
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#417A2D
secondary
#9559AA
accent
#52D6B4
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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