#417F2B#417F2B

#417F2B is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.134 H 138.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#417F2B
RGBrgb(65, 127, 43)
HSLhsl(104, 49%, 33%)
HSVhsv(104, 66%, 50%)
CMYKcmyk(48.8%, 0%, 66.1%, 50.2%)
CIE-LABlab(47.59, -36.46, 38.37)
CIE-LCHlch(47.59, 52.93, 133.54°)
OKLaboklab(53.6% -0.1004 0.0888)
OKLCHoklch(53.6% 0.134 138.5)
XYZxyz(10.2050, 16.4763, 4.9275)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F2B #692B7F
analogous
#6B7F2B #417F2B #2B7F3F
triadic
#417F2B #2B417F #7F2B41
tetradic
#417F2B #2B6B7F #692B7F #7F3F2B
square
#417F2B #2B6B7F #692B7F #7F3F2B
split-complementary
#417F2B #3F2B7F #7F2B6B
monochromatic
#12240C #2A511C #417F2B #58AD3A #79C85C

Accessibility & contrast

On white

4.89
#417F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#417F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417F2B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F2B#FFFFFF#000000##FFFFFF
##417F2B1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#3C7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f2b;
/* rgb */ color: rgb(65, 127, 43);
/* oklch */ color: oklch(53.6% 0.134 138.5);
Tailwind
colors: {
  custom: {
    50: '#7ba568',
    500: '#417f2b',
    950: '#000000',
  },
}
SCSS
$custom: #417f2b;
$custom-light: #7ba568;
$custom-dark: #000000;
JSON
{
  "hex": "#417f2b",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 104.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53598,
    "c": 0.13404,
    "h": 138.5
  },
  "luminance": 0.16477
}

Semantic roles & 50–950 ramp

primary
#417F2B
secondary
#9758AE
accent
#4FD9B5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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