#417F2A#417F2A

#417F2A is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.135 H 138.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#417F2A
RGBrgb(65, 127, 42)
HSLhsl(104, 50%, 33%)
HSVhsv(104, 67%, 50%)
CMYKcmyk(48.8%, 0%, 66.9%, 50.2%)
CIE-LABlab(47.58, -36.56, 38.82)
CIE-LCHlch(47.58, 53.33, 133.29°)
OKLaboklab(53.59% -0.1008 0.0896)
OKLCHoklch(53.59% 0.135 138.4)
XYZxyz(10.1869, 16.4690, 4.8321)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F2A #682A7F
analogous
#6B7F2A #417F2A #2A7F3D
triadic
#417F2A #2A417F #7F2A41
tetradic
#417F2A #2A6B7F #682A7F #7F3D2A
square
#417F2A #2A6B7F #682A7F #7F3D2A
split-complementary
#417F2A #3D2A7F #7F2A6B
monochromatic
#12230C #29511B #417F2A #59AD39 #78C95B

Accessibility & contrast

On white

4.89
#417F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#417F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417F2A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F2A#FFFFFF#000000##FFFFFF
##417F2A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#3D7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f2a;
/* rgb */ color: rgb(65, 127, 42);
/* oklch */ color: oklch(53.6% 0.135 138.4);
Tailwind
colors: {
  custom: {
    50: '#7ba568',
    500: '#417f2a',
    950: '#000000',
  },
}
SCSS
$custom: #417f2a;
$custom-light: #7ba568;
$custom-dark: #000000;
JSON
{
  "hex": "#417f2a",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 103.765,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.13484,
    "h": 138.4
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#417F2A
secondary
#9757AE
accent
#4EDAB4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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