#417B2E#417B2E

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

Color values

HEX#417B2E
RGBrgb(65, 123, 46)
HSLhsl(105, 46%, 33%)
HSVhsv(105, 63%, 48%)
CMYKcmyk(47.2%, 0%, 62.6%, 51.8%)
CIE-LABlab(46.29, -34.40, 35.50)
CIE-LCHlch(46.29, 49.43, 134.10°)
OKLaboklab(52.54% -0.0946 0.083)
OKLCHoklch(52.54% 0.126 138.7)
XYZxyz(9.7557, 15.4864, 5.0593)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B2E #682E7B
analogous
#677B2E #417B2E #2E7B41
triadic
#417B2E #2E417B #7B2E41
tetradic
#417B2E #2E677B #682E7B #7B412E
square
#417B2E #2E677B #682E7B #7B412E
split-complementary
#417B2E #412E7B #7B2E67
monochromatic
#12220D #294E1D #417B2E #59A83F #78C360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417B2E#FFFFFF#000000##FFFFFF
##417B2E1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417b2e;
/* rgb */ color: rgb(65, 123, 46);
/* oklch */ color: oklch(52.5% 0.126 138.7);
Tailwind
colors: {
  custom: {
    50: '#7aa26a',
    500: '#417b2e',
    950: '#000000',
  },
}
SCSS
$custom: #417b2e;
$custom-light: #7aa26a;
$custom-dark: #000000;
JSON
{
  "hex": "#417b2e",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 105.195,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.12586,
    "h": 138.7
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#417B2E
secondary
#975BAA
accent
#53D5B5
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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