#417A2B#417A2B

#417A2B is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.2% C 0.127 H 138.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#417A2B
RGBrgb(65, 122, 43)
HSLhsl(103, 48%, 32%)
HSVhsv(103, 65%, 48%)
CMYKcmyk(46.7%, 0%, 64.8%, 52.2%)
CIE-LABlab(45.93, -34.29, 36.53)
CIE-LCHlch(45.93, 50.10, 133.19°)
OKLaboklab(52.23% -0.0945 0.0849)
OKLCHoklch(52.23% 0.127 138.1)
XYZxyz(9.5752, 15.2167, 4.7176)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A2B #642B7A
analogous
#697A2B #417A2B #2B7A3C
triadic
#417A2B #2B417A #7A2B41
tetradic
#417A2B #2B697A #642B7A #7A3C2B
square
#417A2B #2B697A #642B7A #7A3C2B
split-complementary
#417A2B #3C2B7A #7A2B69
monochromatic
#111F0B #294D1B #417A2B #59A73B #78C55A

Accessibility & contrast

On white

5.19
#417A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#417A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A2B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A2B#FFFFFF#000000##FFFFFF
##417A2B1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#3D7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a2b;
/* rgb */ color: rgb(65, 122, 43);
/* oklch */ color: oklch(52.2% 0.127 138.1);
Tailwind
colors: {
  custom: {
    50: '#7aa168',
    500: '#417a2b',
    950: '#000000',
  },
}
SCSS
$custom: #417a2b;
$custom-light: #7aa168;
$custom-dark: #000000;
JSON
{
  "hex": "#417a2b",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 103.291,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.12702,
    "h": 138.1
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#417A2B
secondary
#9356AB
accent
#50D7B2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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