#417F2C#417F2C

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

Color values

HEX#417F2C
RGBrgb(65, 127, 44)
HSLhsl(105, 49%, 34%)
HSVhsv(105, 65%, 50%)
CMYKcmyk(48.8%, 0%, 65.4%, 50.2%)
CIE-LABlab(47.60, -36.36, 37.92)
CIE-LCHlch(47.60, 52.54, 133.80°)
OKLaboklab(53.61% -0.1001 0.0879)
OKLCHoklch(53.61% 0.133 138.7)
XYZxyz(10.2236, 16.4837, 5.0253)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F2C #6A2C7F
analogous
#6A7F2C #417F2C #2C7F40
triadic
#417F2C #2C417F #7F2C41
tetradic
#417F2C #2C6A7F #6A2C7F #7F402C
square
#417F2C #2C6A7F #6A2C7F #7F402C
split-complementary
#417F2C #402C7F #7F2C6A
monochromatic
#12240D #2A521C #417F2C #58AC3C #79C75E

Accessibility & contrast

On white

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

On black

4.30
#417F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417F2C#FFFFFF#000000##FFFFFF
##417F2C1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837422
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#3C7B6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f2c;
/* rgb */ color: rgb(65, 127, 44);
/* oklch */ color: oklch(53.6% 0.133 138.7);
Tailwind
colors: {
  custom: {
    50: '#7ba569',
    500: '#417f2c',
    950: '#000000',
  },
}
SCSS
$custom: #417f2c;
$custom-light: #7ba569;
$custom-dark: #000000;
JSON
{
  "hex": "#417f2c",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 104.819,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.13322,
    "h": 138.7
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#417F2C
secondary
#9859AD
accent
#50D8B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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