#417B2A#417B2A

#417B2A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.5% C 0.129 H 138.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#417B2A
RGBrgb(65, 123, 42)
HSLhsl(103, 49%, 32%)
HSVhsv(103, 66%, 48%)
CMYKcmyk(47.2%, 0%, 65.9%, 51.8%)
CIE-LABlab(46.25, -34.83, 37.36)
CIE-LCHlch(46.25, 51.08, 132.99°)
OKLaboklab(52.5% -0.096 0.0865)
OKLCHoklch(52.5% 0.129 138)
XYZxyz(9.6805, 15.4563, 4.6633)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B2A #642A7B
analogous
#6A7B2A #417B2A #2A7B3C
triadic
#417B2A #2A417B #7B2A41
tetradic
#417B2A #2A6A7B #642A7B #7B3C2A
square
#417B2A #2A6A7B #642A7B #7B3C2A
split-complementary
#417B2A #3C2A7B #7B2A6A
monochromatic
#11200B #294D1A #417B2A #59A93A #78C659

Accessibility & contrast

On white

5.13
#417B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#417B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B2A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B2A#FFFFFF#000000##FFFFFF
##417B2A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#3D776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417b2a;
/* rgb */ color: rgb(65, 123, 42);
/* oklch */ color: oklch(52.5% 0.129 138.0);
Tailwind
colors: {
  custom: {
    50: '#7ba267',
    500: '#417b2a',
    950: '#000000',
  },
}
SCSS
$custom: #417b2a;
$custom-light: #7ba267;
$custom-dark: #000000;
JSON
{
  "hex": "#417b2a",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 102.963,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.12927,
    "h": 138
  },
  "luminance": 0.15457
}

Semantic roles & 50–950 ramp

primary
#417B2A
secondary
#9355AC
accent
#4FD9B2
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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