#417E2B#417E2B

#417E2B is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.3% C 0.133 H 138.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#417E2B
RGBrgb(65, 126, 43)
HSLhsl(104, 49%, 33%)
HSVhsv(104, 66%, 49%)
CMYKcmyk(48.4%, 0%, 65.9%, 50.6%)
CIE-LABlab(47.26, -36.03, 38.01)
CIE-LCHlch(47.26, 52.37, 133.47°)
OKLaboklab(53.33% -0.0992 0.088)
OKLCHoklch(53.33% 0.133 138.4)
XYZxyz(10.0765, 16.2193, 4.8847)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E2B #682B7E
analogous
#6A7E2B #417E2B #2B7E3E
triadic
#417E2B #2B417E #7E2B41
tetradic
#417E2B #2B6A7E #682B7E #7E3E2B
square
#417E2B #2B6A7E #682B7E #7E3E2B
split-complementary
#417E2B #3E2B7E #7E2B6A
monochromatic
#12230C #29501B #417E2B #59AC3B #78C75C

Accessibility & contrast

On white

4.95
#417E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#417E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417E2B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E2B#FFFFFF#000000##FFFFFF
##417E2B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827321
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#3D7A6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e2b;
/* rgb */ color: rgb(65, 126, 43);
/* oklch */ color: oklch(53.3% 0.133 138.4);
Tailwind
colors: {
  custom: {
    50: '#7ba468',
    500: '#417e2b',
    950: '#000000',
  },
}
SCSS
$custom: #417e2b;
$custom-light: #7ba468;
$custom-dark: #000000;
JSON
{
  "hex": "#417e2b",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 104.096,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.13265,
    "h": 138.4
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#417E2B
secondary
#9758AD
accent
#4FD9B4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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