#417E2F#417E2F

#417E2F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.4% C 0.129 H 139.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#417E2F
RGBrgb(65, 126, 47)
HSLhsl(106, 46%, 34%)
HSVhsv(106, 63%, 49%)
CMYKcmyk(48.4%, 0%, 62.7%, 50.6%)
CIE-LABlab(47.30, -35.60, 36.16)
CIE-LCHlch(47.30, 50.75, 134.56°)
OKLaboklab(53.37% -0.0978 0.0845)
OKLCHoklch(53.37% 0.129 139.2)
XYZxyz(10.1535, 16.2501, 5.2903)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E2F #6C2F7E
analogous
#697E2F #417E2F #2F7E45
triadic
#417E2F #2F417E #7E2F41
tetradic
#417E2F #2F697E #6C2F7E #7E452F
square
#417E2F #2F697E #6C2F7E #7E452F
split-complementary
#417E2F #452F7E #7E2F69
monochromatic
#13250E #2A511E #417E2F #58AB40 #79C563

Accessibility & contrast

On white

4.94
#417E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#417E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417E2F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E2F#FFFFFF#000000##FFFFFF
##417E2F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827326
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#3C7A6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e2f;
/* rgb */ color: rgb(65, 126, 47);
/* oklch */ color: oklch(53.4% 0.129 139.2);
Tailwind
colors: {
  custom: {
    50: '#7ba46b',
    500: '#417e2f',
    950: '#000000',
  },
}
SCSS
$custom: #417e2f;
$custom-light: #7ba46b;
$custom-dark: #000000;
JSON
{
  "hex": "#417e2f",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 106.329,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.12926,
    "h": 139.2
  },
  "luminance": 0.16251
}

Semantic roles & 50–950 ramp

primary
#417E2F
secondary
#9A5DAC
accent
#52D5B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #417E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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