#417D2D#417D2D

#417D2D is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.1% C 0.130 H 138.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#417D2D
RGBrgb(65, 125, 45)
HSLhsl(105, 47%, 33%)
HSVhsv(105, 64%, 49%)
CMYKcmyk(48%, 0%, 64%, 51%)
CIE-LABlab(46.95, -35.39, 36.72)
CIE-LCHlch(46.95, 51.00, 133.94°)
OKLaboklab(53.08% -0.0974 0.0855)
OKLCHoklch(53.08% 0.13 138.7)
XYZxyz(9.9869, 15.9798, 5.0403)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D2D #692D7D
analogous
#697D2D #417D2D #2D7D41
triadic
#417D2D #2D417D #7D2D41
tetradic
#417D2D #2D697D #692D7D #7D412D
square
#417D2D #2D697D #692D7D #7D412D
split-complementary
#417D2D #412D7D #7D2D69
monochromatic
#12230D #2A501D #417D2D #58AA3D #79C55F

Accessibility & contrast

On white

5.00
#417D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#417D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D2D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D2D#FFFFFF#000000##FFFFFF
##417D2D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#3D796C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d2d;
/* rgb */ color: rgb(65, 125, 45);
/* oklch */ color: oklch(53.1% 0.130 138.7);
Tailwind
colors: {
  custom: {
    50: '#7ba369',
    500: '#417d2d',
    950: '#000000',
  },
}
SCSS
$custom: #417d2d;
$custom-light: #7ba369;
$custom-dark: #000000;
JSON
{
  "hex": "#417d2d",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 105,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.12957,
    "h": 138.7
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#417D2D
secondary
#975AAC
accent
#51D7B5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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