#417B2D#417B2D

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

Color values

HEX#417B2D
RGBrgb(65, 123, 45)
HSLhsl(105, 46%, 33%)
HSVhsv(105, 63%, 48%)
CMYKcmyk(47.2%, 0%, 63.4%, 51.8%)
CIE-LABlab(46.28, -34.51, 35.97)
CIE-LCHlch(46.28, 49.85, 133.81°)
OKLaboklab(52.53% -0.095 0.0839)
OKLCHoklch(52.53% 0.127 138.5)
XYZxyz(9.7362, 15.4786, 4.9567)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B2D #672D7B
analogous
#687B2D #417B2D #2D7B40
triadic
#417B2D #2D417B #7B2D41
tetradic
#417B2D #2D687B #672D7B #7B402D
square
#417B2D #2D687B #672D7B #7B402D
split-complementary
#417B2D #402D7B #7B2D68
monochromatic
#12210C #294E1D #417B2D #59A83D #78C45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417B2D#FFFFFF#000000##FFFFFF
##417B2D1.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)
#7F7124
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#3D776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417b2d;
/* rgb */ color: rgb(65, 123, 45);
/* oklch */ color: oklch(52.5% 0.127 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aa269',
    500: '#417b2d',
    950: '#000000',
  },
}
SCSS
$custom: #417b2d;
$custom-light: #7aa269;
$custom-dark: #000000;
JSON
{
  "hex": "#417b2d",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 104.615,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.12673,
    "h": 138.5
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#417B2D
secondary
#9659AB
accent
#52D6B4
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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