#417A2E#417A2E

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

Color values

HEX#417A2E
RGBrgb(65, 122, 46)
HSLhsl(105, 45%, 33%)
HSVhsv(105, 62%, 48%)
CMYKcmyk(46.7%, 0%, 62.3%, 52.2%)
CIE-LABlab(45.96, -33.96, 35.12)
CIE-LCHlch(45.96, 48.85, 134.03°)
OKLaboklab(52.27% -0.0934 0.0822)
OKLCHoklch(52.27% 0.124 138.6)
XYZxyz(9.6323, 15.2395, 5.0182)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A2E #672E7A
analogous
#677A2E #417A2E #2E7A41
triadic
#417A2E #2E417A #7A2E41
tetradic
#417A2E #2E677A #672E7A #7A412E
square
#417A2E #2E677A #672E7A #7A412E
split-complementary
#417A2E #412E7A #7A2E67
monochromatic
#12210C #294E1D #417A2E #59A63F #78C360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417A2E#FFFFFF#000000##FFFFFF
##417A2E1.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)
#7E7026
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#3D766A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a2e;
/* rgb */ color: rgb(65, 122, 46);
/* oklch */ color: oklch(52.3% 0.124 138.6);
Tailwind
colors: {
  custom: {
    50: '#7aa16a',
    500: '#417a2e',
    950: '#000000',
  },
}
SCSS
$custom: #417a2e;
$custom-light: #7aa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#417a2e",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 105,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.12441,
    "h": 138.6
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#417A2E
secondary
#965AAA
accent
#53D5B4
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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