#417A2C#417A2C

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

Color values

HEX#417A2C
RGBrgb(65, 122, 44)
HSLhsl(104, 47%, 33%)
HSVhsv(104, 64%, 48%)
CMYKcmyk(46.7%, 0%, 63.9%, 52.2%)
CIE-LABlab(45.94, -34.18, 36.07)
CIE-LCHlch(45.94, 49.69, 133.46°)
OKLaboklab(52.25% -0.0941 0.084)
OKLCHoklch(52.25% 0.126 138.3)
XYZxyz(9.5938, 15.2241, 4.8154)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A2C #652C7A
analogous
#687A2C #417A2C #2C7A3E
triadic
#417A2C #2C417A #7A2C41
tetradic
#417A2C #2C687A #652C7A #7A3E2C
square
#417A2C #2C687A #652C7A #7A3E2C
split-complementary
#417A2C #3E2C7A #7A2C68
monochromatic
#11200C #294D1C #417A2C #59A73C #78C45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417A2C#FFFFFF#000000##FFFFFF
##417A2C1.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)
#7E7023
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#3D7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417a2c;
/* rgb */ color: rgb(65, 122, 44);
/* oklch */ color: oklch(52.2% 0.126 138.3);
Tailwind
colors: {
  custom: {
    50: '#7aa168',
    500: '#417a2c',
    950: '#000000',
  },
}
SCSS
$custom: #417a2c;
$custom-light: #7aa168;
$custom-dark: #000000;
JSON
{
  "hex": "#417a2c",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 103.846,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.12617,
    "h": 138.3
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#417A2C
secondary
#9457AA
accent
#51D7B3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #417A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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