#417C2B#417C2B

#417C2B is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.8% C 0.130 H 138.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#417C2B
RGBrgb(65, 124, 43)
HSLhsl(104, 49%, 33%)
HSVhsv(104, 65%, 49%)
CMYKcmyk(47.6%, 0%, 65.3%, 51.4%)
CIE-LABlab(46.60, -35.16, 37.27)
CIE-LCHlch(46.60, 51.24, 133.33°)
OKLaboklab(52.78% -0.0969 0.0865)
OKLCHoklch(52.78% 0.13 138.3)
XYZxyz(9.8233, 15.7129, 4.8003)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C2B #662B7C
analogous
#697C2B #417C2B #2B7C3E
triadic
#417C2B #2B417C #7C2B41
tetradic
#417C2B #2B697C #662B7C #7C3E2B
square
#417C2B #2B697C #662B7C #7C3E2B
split-complementary
#417C2B #3E2B7C #7C2B69
monochromatic
#11210B #294F1B #417C2B #59A93B #78C65B

Accessibility & contrast

On white

5.07
#417C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#417C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C2B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C2B#FFFFFF#000000##FFFFFF
##417C2B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#3D786B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c2b;
/* rgb */ color: rgb(65, 124, 43);
/* oklch */ color: oklch(52.8% 0.130 138.3);
Tailwind
colors: {
  custom: {
    50: '#7ba268',
    500: '#417c2b',
    950: '#000000',
  },
}
SCSS
$custom: #417c2b;
$custom-light: #7ba268;
$custom-dark: #000000;
JSON
{
  "hex": "#417c2b",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 103.704,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.12985,
    "h": 138.3
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#417C2B
secondary
#9557AC
accent
#50D8B3
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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