#417A2A#417A2A

#417A2A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.2% C 0.128 H 137.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#417A2A
RGBrgb(65, 122, 42)
HSLhsl(103, 49%, 32%)
HSVhsv(103, 66%, 48%)
CMYKcmyk(46.7%, 0%, 65.6%, 52.2%)
CIE-LABlab(45.92, -34.39, 36.99)
CIE-LCHlch(45.92, 50.51, 132.91°)
OKLaboklab(52.22% -0.0949 0.0857)
OKLCHoklch(52.22% 0.128 137.9)
XYZxyz(9.5571, 15.2094, 4.6222)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A2A #632A7A
analogous
#697A2A #417A2A #2A7A3B
triadic
#417A2A #2A417A #7A2A41
tetradic
#417A2A #2A697A #632A7A #7A3B2A
square
#417A2A #2A697A #632A7A #7A3B2A
split-complementary
#417A2A #3B2A7A #7A2A69
monochromatic
#101F0B #294C1A #417A2A #59A83A #78C659

Accessibility & contrast

On white

5.20
#417A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#417A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A2A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A2A#FFFFFF#000000##FFFFFF
##417A2A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#3D7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a2a;
/* rgb */ color: rgb(65, 122, 42);
/* oklch */ color: oklch(52.2% 0.128 137.9);
Tailwind
colors: {
  custom: {
    50: '#7ba167',
    500: '#417a2a',
    950: '#000000',
  },
}
SCSS
$custom: #417a2a;
$custom-light: #7ba167;
$custom-dark: #000000;
JSON
{
  "hex": "#417a2a",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 102.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.12786,
    "h": 137.9
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#417A2A
secondary
#9255AB
accent
#4FD8B1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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