#417B27#417B27

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

Color values

HEX#417B27
RGBrgb(65, 123, 39)
HSLhsl(101, 52%, 32%)
HSVhsv(101, 68%, 48%)
CMYKcmyk(47.2%, 0%, 68.3%, 51.8%)
CIE-LABlab(46.23, -35.13, 38.70)
CIE-LCHlch(46.23, 52.26, 132.23°)
OKLaboklab(52.46% -0.0971 0.089)
OKLCHoklch(52.46% 0.132 137.5)
XYZxyz(9.6288, 15.4356, 4.3911)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B27 #61277B
analogous
#6B7B27 #417B27 #277B37
triadic
#417B27 #27417B #7B2741
tetradic
#417B27 #276B7B #61277B #7B3727
square
#417B27 #276B7B #61277B #7B3727
split-complementary
#417B27 #37277B #7B276B
monochromatic
#101E0A #284D18 #417B27 #5AA936 #78C954

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417B27#FFFFFF#000000##FFFFFF
##417B271.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)
#7F711C
Deuteranopia (green-blind)
#776C2E
Tritanopia (blue-blind)
#3E776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b27;
/* rgb */ color: rgb(65, 123, 39);
/* oklch */ color: oklch(52.5% 0.132 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ba265',
    500: '#417b27',
    950: '#000000',
  },
}
SCSS
$custom: #417b27;
$custom-light: #7ba265;
$custom-dark: #000000;
JSON
{
  "hex": "#417b27",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 101.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52464,
    "c": 0.13169,
    "h": 137.5
  },
  "luminance": 0.15436
}

Semantic roles & 50–950 ramp

primary
#417B27
secondary
#9051AD
accent
#4CDBAF
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417B27

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

Preview Lab → · Contrast checker → · Palette generator →

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