#417728#417728

#417728 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.4% C 0.125 H 137.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#417728
RGBrgb(65, 119, 40)
HSLhsl(101, 50%, 31%)
HSVhsv(101, 66%, 47%)
CMYKcmyk(45.4%, 0%, 66.4%, 53.3%)
CIE-LABlab(44.90, -33.26, 36.80)
CIE-LCHlch(44.90, 49.61, 132.11°)
OKLaboklab(51.38% -0.0919 0.0851)
OKLCHoklch(51.38% 0.125 137.2)
XYZxyz(9.1595, 14.4701, 4.3174)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417728 #5E2877
analogous
#687728 #417728 #287736
triadic
#417728 #284177 #772841
tetradic
#417728 #286877 #5E2877 #773628
square
#417728 #286877 #5E2877 #773628
split-complementary
#417728 #362877 #772868
monochromatic
#0F1B09 #284919 #417728 #5AA537 #78C554

Accessibility & contrast

On white

5.39
#417728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#417728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417728
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417728#FFFFFF#000000##FFFFFF
##4177281.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#3E7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #417728;
/* rgb */ color: rgb(65, 119, 40);
/* oklch */ color: oklch(51.4% 0.125 137.2);
Tailwind
colors: {
  custom: {
    50: '#7a9f66',
    500: '#417728',
    950: '#000000',
  },
}
SCSS
$custom: #417728;
$custom-light: #7a9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#417728",
  "rgb": {
    "r": 65,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 101.013,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.12527,
    "h": 137.2
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#417728
secondary
#8D52A9
accent
#4FD9AD
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #417728

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

Preview Lab → · Contrast checker → · Palette generator →

#417728 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva