#417C2E#417C2E

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

Color values

HEX#417C2E
RGBrgb(65, 124, 46)
HSLhsl(105, 46%, 33%)
HSVhsv(105, 63%, 49%)
CMYKcmyk(47.6%, 0%, 62.9%, 51.4%)
CIE-LABlab(46.63, -34.84, 35.88)
CIE-LCHlch(46.63, 50.01, 134.16°)
OKLaboklab(52.81% -0.0958 0.0838)
OKLCHoklch(52.81% 0.127 138.8)
XYZxyz(9.8804, 15.7357, 5.1009)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C2E #692E7C
analogous
#687C2E #417C2E #2E7C42
triadic
#417C2E #2E417C #7C2E41
tetradic
#417C2E #2E687C #692E7C #7C422E
square
#417C2E #2E687C #692E7C #7C422E
split-complementary
#417C2E #422E7C #7C2E68
monochromatic
#12230D #2A4F1D #417C2E #58A93F #79C460

Accessibility & contrast

On white

5.06
#417C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417C2E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C2E#FFFFFF#000000##FFFFFF
##417C2E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417c2e;
/* rgb */ color: rgb(65, 124, 46);
/* oklch */ color: oklch(52.8% 0.127 138.8);
Tailwind
colors: {
  custom: {
    50: '#7ba26a',
    500: '#417c2e',
    950: '#000000',
  },
}
SCSS
$custom: #417c2e;
$custom-light: #7ba26a;
$custom-dark: #000000;
JSON
{
  "hex": "#417c2e",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 105.385,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.12729,
    "h": 138.8
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#417C2E
secondary
#975BAB
accent
#52D6B6
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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