#417E2A#417E2A

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

Color values

HEX#417E2A
RGBrgb(65, 126, 42)
HSLhsl(104, 50%, 33%)
HSVhsv(104, 67%, 49%)
CMYKcmyk(48.4%, 0%, 66.7%, 50.6%)
CIE-LABlab(47.25, -36.13, 38.45)
CIE-LCHlch(47.25, 52.77, 133.22°)
OKLaboklab(53.31% -0.0996 0.0888)
OKLCHoklch(53.31% 0.133 138.3)
XYZxyz(10.0584, 16.2120, 4.7893)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E2A #672A7E
analogous
#6B7E2A #417E2A #2A7E3D
triadic
#417E2A #2A417E #7E2A41
tetradic
#417E2A #2A6B7E #672A7E #7E3D2A
square
#417E2A #2A6B7E #672A7E #7E3D2A
split-complementary
#417E2A #3D2A7E #7E2A6B
monochromatic
#12220B #29501B #417E2A #59AC39 #78C85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417E2A#FFFFFF#000000##FFFFFF
##417E2A1.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)
#827320
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#3D7A6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e2a;
/* rgb */ color: rgb(65, 126, 42);
/* oklch */ color: oklch(53.3% 0.133 138.3);
Tailwind
colors: {
  custom: {
    50: '#7ba468',
    500: '#417e2a',
    950: '#000000',
  },
}
SCSS
$custom: #417e2a;
$custom-light: #7ba468;
$custom-dark: #000000;
JSON
{
  "hex": "#417e2a",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 103.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.13346,
    "h": 138.3
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#417E2A
secondary
#9656AE
accent
#4EDAB3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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