#417D23#417D23

#417D23 is a mid, vivid green. Relative luminance 0.159; OKLCH L 53.0% C 0.137 H 137.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#417D23
RGBrgb(65, 125, 35)
HSLhsl(100, 56%, 31%)
HSVhsv(100, 72%, 49%)
CMYKcmyk(48%, 0%, 72%, 51%)
CIE-LABlab(46.86, -36.35, 41.10)
CIE-LCHlch(46.86, 54.87, 131.49°)
OKLaboklab(52.97% -0.1007 0.0935)
OKLCHoklch(52.97% 0.137 137.1)
XYZxyz(9.8167, 15.9118, 4.1438)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417D23 #5F237D
analogous
#6E7D23 #417D23 #237D32
triadic
#417D23 #23417D #7D2341
tetradic
#417D23 #236E7D #5F237D #7D3223
square
#417D23 #236E7D #5F237D #7D3223
split-complementary
#417D23 #32237D #7D236E
monochromatic
#0F1D08 #284D16 #417D23 #5AAD30 #78CD4D

Accessibility & contrast

On white

5.02
#417D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#417D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417D23
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417D23#FFFFFF#000000##FFFFFF
##417D231.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#3E786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #417d23;
/* rgb */ color: rgb(65, 125, 35);
/* oklch */ color: oklch(53.0% 0.137 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba363',
    500: '#417d23',
    950: '#000000',
  },
}
SCSS
$custom: #417d23;
$custom-light: #7ba363;
$custom-dark: #000000;
JSON
{
  "hex": "#417d23",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 100,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52973,
    "c": 0.13741,
    "h": 137.1
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#417D23
secondary
#8E4CAF
accent
#48E0AD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417D23

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

Preview Lab → · Contrast checker → · Palette generator →

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