#417E1D#417E1D

#417E1D is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.143 H 136.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#417E1D
RGBrgb(65, 126, 29)
HSLhsl(98, 63%, 30%)
HSVhsv(98, 77%, 49%)
CMYKcmyk(48.4%, 0%, 77%, 50.6%)
CIE-LABlab(47.15, -37.24, 43.77)
CIE-LCHlch(47.15, 57.47, 130.39°)
OKLaboklab(53.2% -0.1035 0.0982)
OKLCHoklch(53.2% 0.143 136.5)
XYZxyz(9.8623, 16.1336, 3.7566)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E1D #5A1D7E
analogous
#717E1D #417E1D #1D7E29
triadic
#417E1D #1D417E #7E1D41
tetradic
#417E1D #1D717E #5A1D7E #7E291D
square
#417E1D #1D717E #5A1D7E #7E291D
split-complementary
#417E1D #291D7E #7E1D71
monochromatic
#0E1B06 #274C12 #417E1D #5BB028 #78D342

Accessibility & contrast

On white

4.97
#417E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#417E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417E1D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417E1D#FFFFFF#000000##FFFFFF
##417E1D1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837309
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#3E796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e1d;
/* rgb */ color: rgb(65, 126, 29);
/* oklch */ color: oklch(53.2% 0.143 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ca460',
    500: '#417e1d',
    950: '#000000',
  },
}
SCSS
$custom: #417e1d;
$custom-light: #7ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#417e1d",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 97.732,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.14268,
    "h": 136.5
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#417E1D
secondary
#8945B1
accent
#42E6A9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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