#417C2A#417C2A

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

Color values

HEX#417C2A
RGBrgb(65, 124, 42)
HSLhsl(103, 49%, 33%)
HSVhsv(103, 66%, 49%)
CMYKcmyk(47.6%, 0%, 66.1%, 51.4%)
CIE-LABlab(46.59, -35.27, 37.72)
CIE-LCHlch(46.59, 51.64, 133.07°)
OKLaboklab(52.77% -0.0972 0.0873)
OKLCHoklch(52.77% 0.131 138.1)
XYZxyz(9.8052, 15.7057, 4.7049)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C2A #652A7C
analogous
#6A7C2A #417C2A #2A7C3C
triadic
#417C2A #2A417C #7C2A41
tetradic
#417C2A #2A6A7C #652A7C #7C3C2A
square
#417C2A #2A6A7C #652A7C #7C3C2A
split-complementary
#417C2A #3C2A7C #7C2A6A
monochromatic
#11210B #294E1B #417C2A #59AA39 #78C759

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417C2A#FFFFFF#000000##FFFFFF
##417C2A1.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)
#807220
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#3D786B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c2a;
/* rgb */ color: rgb(65, 124, 42);
/* oklch */ color: oklch(52.8% 0.131 138.1);
Tailwind
colors: {
  custom: {
    50: '#7ba267',
    500: '#417c2a',
    950: '#000000',
  },
}
SCSS
$custom: #417c2a;
$custom-light: #7ba267;
$custom-dark: #000000;
JSON
{
  "hex": "#417c2a",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 103.171,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.13067,
    "h": 138.1
  },
  "luminance": 0.15706
}

Semantic roles & 50–950 ramp

primary
#417C2A
secondary
#9455AD
accent
#4FD9B2
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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