#417B28#417B28

#417B28 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.5% C 0.131 H 137.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#417B28
RGBrgb(65, 123, 40)
HSLhsl(102, 51%, 32%)
HSVhsv(102, 67%, 48%)
CMYKcmyk(47.2%, 0%, 67.5%, 51.8%)
CIE-LABlab(46.23, -35.03, 38.26)
CIE-LCHlch(46.23, 51.87, 132.48°)
OKLaboklab(52.47% -0.0967 0.0882)
OKLCHoklch(52.47% 0.131 137.7)
XYZxyz(9.6456, 15.4423, 4.4795)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B28 #62287B
analogous
#6B7B28 #417B28 #287B39
triadic
#417B28 #28417B #7B2841
tetradic
#417B28 #286B7B #62287B #7B3928
square
#417B28 #286B7B #62287B #7B3928
split-complementary
#417B28 #39287B #7B286B
monochromatic
#101F0A #294D19 #417B28 #59A937 #78C856

Accessibility & contrast

On white

5.14
#417B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#417B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B28
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B28#FFFFFF#000000##FFFFFF
##417B281.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#776C2F
Tritanopia (blue-blind)
#3D776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417b28;
/* rgb */ color: rgb(65, 123, 40);
/* oklch */ color: oklch(52.5% 0.131 137.7);
Tailwind
colors: {
  custom: {
    50: '#7ba266',
    500: '#417b28',
    950: '#000000',
  },
}
SCSS
$custom: #417b28;
$custom-light: #7ba266;
$custom-dark: #000000;
JSON
{
  "hex": "#417b28",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 101.928,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.13089,
    "h": 137.7
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#417B28
secondary
#9152AD
accent
#4DDAB0
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417B28

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

Preview Lab → · Contrast checker → · Palette generator →

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