#417F26#417F26

#417F26 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.5% C 0.138 H 137.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#417F26
RGBrgb(65, 127, 38)
HSLhsl(102, 54%, 32%)
HSVhsv(102, 70%, 50%)
CMYKcmyk(48.8%, 0%, 70.1%, 50.2%)
CIE-LABlab(47.55, -36.94, 40.55)
CIE-LCHlch(47.55, 54.86, 132.33°)
OKLaboklab(53.55% -0.1021 0.0928)
OKLCHoklch(53.55% 0.138 137.7)
XYZxyz(10.1189, 16.4418, 4.4737)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F26 #64267F
analogous
#6D7F26 #417F26 #267F38
triadic
#417F26 #26417F #7F2641
tetradic
#417F26 #266D7F #64267F #7F3826
square
#417F26 #266D7F #64267F #7F3826
split-complementary
#417F26 #38267F #7F266D
monochromatic
#11210A #295018 #417F26 #59AE34 #78CC54

Accessibility & contrast

On white

4.90
#417F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#417F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417F26
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F26#FFFFFF#000000##FFFFFF
##417F261.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#3D7A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f26;
/* rgb */ color: rgb(65, 127, 38);
/* oklch */ color: oklch(53.5% 0.138 137.7);
Tailwind
colors: {
  custom: {
    50: '#7ba565',
    500: '#417f26',
    950: '#000000',
  },
}
SCSS
$custom: #417f26;
$custom-light: #7ba565;
$custom-dark: #000000;
JSON
{
  "hex": "#417f26",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 101.798,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.13792,
    "h": 137.7
  },
  "luminance": 0.16443
}

Semantic roles & 50–950 ramp

primary
#417F26
secondary
#9351B0
accent
#4ADDB1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417F26

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

Preview Lab → · Contrast checker → · Palette generator →

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