#417A31#417A31

#417A31 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.3% C 0.122 H 139.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#417A31
RGBrgb(65, 122, 49)
HSLhsl(107, 43%, 34%)
HSVhsv(107, 60%, 48%)
CMYKcmyk(46.7%, 0%, 59.8%, 52.2%)
CIE-LABlab(45.99, -33.61, 33.68)
CIE-LCHlch(45.99, 47.58, 134.94°)
OKLaboklab(52.31% -0.0922 0.0794)
OKLCHoklch(52.31% 0.122 139.3)
XYZxyz(9.6935, 15.2640, 5.3406)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A31 #6A317A
analogous
#657A31 #417A31 #317A45
triadic
#417A31 #31417A #7A3141
tetradic
#417A31 #31657A #6A317A #7A4531
square
#417A31 #31657A #6A317A #7A4531
split-complementary
#417A31 #45317A #7A3165
monochromatic
#12230E #2A4E1F #417A31 #58A643 #79C164

Accessibility & contrast

On white

5.18
#417A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417A31
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A31#FFFFFF#000000##FFFFFF
##417A311.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417a31;
/* rgb */ color: rgb(65, 122, 49);
/* oklch */ color: oklch(52.3% 0.122 139.3);
Tailwind
colors: {
  custom: {
    50: '#7aa16c',
    500: '#417a31',
    950: '#000000',
  },
}
SCSS
$custom: #417a31;
$custom-light: #7aa16c;
$custom-dark: #000000;
JSON
{
  "hex": "#417a31",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 106.849,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.12169,
    "h": 139.3
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#417A31
secondary
#985EA8
accent
#55D2B7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F07
muted
#7C7E7A

Preview Lab

Preview with #417A31

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

Preview Lab → · Contrast checker → · Palette generator →

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