#417B26#417B26

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

Color values

HEX#417B26
RGBrgb(65, 123, 38)
HSLhsl(101, 53%, 32%)
HSVhsv(101, 69%, 48%)
CMYKcmyk(47.2%, 0%, 69.1%, 51.8%)
CIE-LABlab(46.22, -35.22, 39.14)
CIE-LCHlch(46.22, 52.65, 131.99°)
OKLaboklab(52.45% -0.0974 0.0898)
OKLCHoklch(52.45% 0.132 137.3)
XYZxyz(9.6125, 15.4291, 4.3049)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B26 #60267B
analogous
#6C7B26 #417B26 #267B36
triadic
#417B26 #26417B #7B2641
tetradic
#417B26 #266C7B #60267B #7B3626
square
#417B26 #266C7B #60267B #7B3626
split-complementary
#417B26 #36267B #7B266C
monochromatic
#101D09 #284C18 #417B26 #5AAA34 #78CA52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417B26#FFFFFF#000000##FFFFFF
##417B261.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)
#7F711B
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#3E776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b26;
/* rgb */ color: rgb(65, 123, 38);
/* oklch */ color: oklch(52.5% 0.132 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ba265',
    500: '#417b26',
    950: '#000000',
  },
}
SCSS
$custom: #417b26;
$custom-light: #7ba265;
$custom-dark: #000000;
JSON
{
  "hex": "#417b26",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 100.941,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.13247,
    "h": 137.3
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#417B26
secondary
#8F50AD
accent
#4CDCAE
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417B26

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

Preview Lab → · Contrast checker → · Palette generator →

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