#417B2F#417B2F

#417B2F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.6% C 0.125 H 138.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#417B2F
RGBrgb(65, 123, 47)
HSLhsl(106, 45%, 33%)
HSVhsv(106, 62%, 48%)
CMYKcmyk(47.2%, 0%, 61.8%, 51.8%)
CIE-LABlab(46.30, -34.29, 35.02)
CIE-LCHlch(46.30, 49.01, 134.39°)
OKLaboklab(52.55% -0.0942 0.0821)
OKLCHoklch(52.55% 0.125 138.9)
XYZxyz(9.7757, 15.4943, 5.1644)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B2F #692F7B
analogous
#677B2F #417B2F #2F7B43
triadic
#417B2F #2F417B #7B2F41
tetradic
#417B2F #2F677B #692F7B #7B432F
square
#417B2F #2F677B #692F7B #7B432F
split-complementary
#417B2F #432F7B #7B2F67
monochromatic
#12220D #2A4F1E #417B2F #58A740 #79C362

Accessibility & contrast

On white

5.12
#417B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#417B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B2F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B2F#FFFFFF#000000##FFFFFF
##417B2F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#3D776B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417b2f;
/* rgb */ color: rgb(65, 123, 47);
/* oklch */ color: oklch(52.6% 0.125 138.9);
Tailwind
colors: {
  custom: {
    50: '#7aa26a',
    500: '#417b2f',
    950: '#000000',
  },
}
SCSS
$custom: #417b2f;
$custom-light: #7aa26a;
$custom-dark: #000000;
JSON
{
  "hex": "#417b2f",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 105.789,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.12496,
    "h": 138.9
  },
  "luminance": 0.15495
}

Semantic roles & 50–950 ramp

primary
#417B2F
secondary
#975CAA
accent
#53D4B6
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #417B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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