#417D38#417D38

#417D38 is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.2% C 0.119 H 141.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#417D38
RGBrgb(65, 125, 56)
HSLhsl(112, 38%, 35%)
HSVhsv(112, 55%, 49%)
CMYKcmyk(48%, 0%, 55.2%, 51%)
CIE-LABlab(47.07, -34.05, 31.37)
CIE-LCHlch(47.07, 46.30, 137.35°)
OKLaboklab(53.22% -0.093 0.075)
OKLCHoklch(53.22% 0.119 141.1)
XYZxyz(10.2270, 16.0759, 6.3047)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D38 #74387D
analogous
#637D38 #417D38 #387D51
triadic
#417D38 #38417D #7D3841
tetradic
#417D38 #38637D #74387D #7D5138
square
#417D38 #38637D #74387D #7D5138
split-complementary
#417D38 #51387D #7D3863
monochromatic
#152812 #2B5325 #417D38 #57A74B #7BBF70

Accessibility & contrast

On white

4.98
#417D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#417D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D38
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D38#FFFFFF#000000##FFFFFF
##417D381.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807332
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#3B796D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417d38;
/* rgb */ color: rgb(65, 125, 56);
/* oklch */ color: oklch(53.2% 0.119 141.1);
Tailwind
colors: {
  custom: {
    50: '#7aa370',
    500: '#417d38',
    950: '#000000',
  },
}
SCSS
$custom: #417d38;
$custom-light: #7aa370;
$custom-dark: #000000;
JSON
{
  "hex": "#417d38",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 112.174,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53219,
    "c": 0.11948,
    "h": 141.1
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#417D38
secondary
#A069A8
accent
#5ACEBF
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #417D38

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

Preview Lab → · Contrast checker → · Palette generator →

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