#417C2D#417C2D

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

Color values

HEX#417C2D
RGBrgb(65, 124, 45)
HSLhsl(105, 47%, 33%)
HSVhsv(105, 64%, 49%)
CMYKcmyk(47.6%, 0%, 63.7%, 51.4%)
CIE-LABlab(46.62, -34.95, 36.35)
CIE-LCHlch(46.62, 50.42, 133.88°)
OKLaboklab(52.8% -0.0962 0.0847)
OKLCHoklch(52.8% 0.128 138.6)
XYZxyz(9.8609, 15.7279, 4.9983)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C2D #682D7C
analogous
#687C2D #417C2D #2D7C40
triadic
#417C2D #2D417C #7C2D41
tetradic
#417C2D #2D687C #682D7C #7C402D
square
#417C2D #2D687C #682D7C #7C402D
split-complementary
#417C2D #402D7C #7C2D68
monochromatic
#12220C #294F1D #417C2D #59A93D #78C55F

Accessibility & contrast

On white

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

On black

4.15
#417C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417C2D#FFFFFF#000000##FFFFFF
##417C2D1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417c2d;
/* rgb */ color: rgb(65, 124, 45);
/* oklch */ color: oklch(52.8% 0.128 138.6);
Tailwind
colors: {
  custom: {
    50: '#7ba269',
    500: '#417c2d',
    950: '#000000',
  },
}
SCSS
$custom: #417c2d;
$custom-light: #7ba269;
$custom-dark: #000000;
JSON
{
  "hex": "#417c2d",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 104.81,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.12816,
    "h": 138.6
  },
  "luminance": 0.15729
}

Semantic roles & 50–950 ramp

primary
#417C2D
secondary
#975AAB
accent
#51D6B5
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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