#417D2B#417D2B

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

Color values

HEX#417D2B
RGBrgb(65, 125, 43)
HSLhsl(104, 49%, 33%)
HSVhsv(104, 66%, 49%)
CMYKcmyk(48%, 0%, 65.6%, 51%)
CIE-LABlab(46.93, -35.60, 37.64)
CIE-LCHlch(46.93, 51.81, 133.41°)
OKLaboklab(53.05% -0.0981 0.0872)
OKLCHoklch(53.05% 0.131 138.3)
XYZxyz(9.9493, 15.9648, 4.8423)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D2B #672B7D
analogous
#6A7D2B #417D2B #2B7D3E
triadic
#417D2B #2B417D #7D2B41
tetradic
#417D2B #2B6A7D #672B7D #7D3E2B
square
#417D2B #2B6A7D #672B7D #7D3E2B
split-complementary
#417D2B #3E2B7D #7D2B6A
monochromatic
#12220C #294F1B #417D2B #59AB3B #78C75C

Accessibility & contrast

On white

5.01
#417D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#417D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D2B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D2B#FFFFFF#000000##FFFFFF
##417D2B1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417d2b;
/* rgb */ color: rgb(65, 125, 43);
/* oklch */ color: oklch(53.1% 0.131 138.3);
Tailwind
colors: {
  custom: {
    50: '#7ba368',
    500: '#417d2b',
    950: '#000000',
  },
}
SCSS
$custom: #417d2b;
$custom-light: #7ba368;
$custom-dark: #000000;
JSON
{
  "hex": "#417d2b",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 103.902,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.13125,
    "h": 138.3
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#417D2B
secondary
#9657AD
accent
#4FD8B4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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