#417E2D#417E2D

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

Color values

HEX#417E2D
RGBrgb(65, 126, 45)
HSLhsl(105, 47%, 34%)
HSVhsv(105, 64%, 49%)
CMYKcmyk(48.4%, 0%, 64.3%, 50.6%)
CIE-LABlab(47.28, -35.82, 37.09)
CIE-LCHlch(47.28, 51.57, 134.00°)
OKLaboklab(53.35% -0.0985 0.0863)
OKLCHoklch(53.35% 0.131 138.8)
XYZxyz(10.1141, 16.2343, 5.0827)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E2D #6A2D7E
analogous
#697E2D #417E2D #2D7E41
triadic
#417E2D #2D417E #7E2D41
tetradic
#417E2D #2D697E #6A2D7E #7E412D
square
#417E2D #2D697E #6A2D7E #7E412D
split-complementary
#417E2D #412D7E #7E2D69
monochromatic
#12240D #2A511D #417E2D #58AB3D #79C65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417E2D#FFFFFF#000000##FFFFFF
##417E2D1.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)
#827324
Deuteranopia (green-blind)
#7A6E34
Tritanopia (blue-blind)
#3C7A6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e2d;
/* rgb */ color: rgb(65, 126, 45);
/* oklch */ color: oklch(53.3% 0.131 138.8);
Tailwind
colors: {
  custom: {
    50: '#7ba469',
    500: '#417e2d',
    950: '#000000',
  },
}
SCSS
$custom: #417e2d;
$custom-light: #7ba469;
$custom-dark: #000000;
JSON
{
  "hex": "#417e2d",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 105.185,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.13098,
    "h": 138.8
  },
  "luminance": 0.16235
}

Semantic roles & 50–950 ramp

primary
#417E2D
secondary
#985AAC
accent
#51D7B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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