#417E1A#417E1A

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

Color values

HEX#417E1A
RGBrgb(65, 126, 26)
HSLhsl(97, 66%, 30%)
HSVhsv(97, 79%, 49%)
CMYKcmyk(48.4%, 0%, 79.4%, 50.6%)
CIE-LABlab(47.13, -37.44, 44.83)
CIE-LCHlch(47.13, 58.41, 129.87°)
OKLaboklab(53.18% -0.1043 0.0999)
OKLCHoklch(53.18% 0.144 136.2)
XYZxyz(9.8270, 16.1195, 3.5706)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E1A #571A7E
analogous
#737E1A #417E1A #1A7E25
triadic
#417E1A #1A417E #7E1A41
tetradic
#417E1A #1A737E #571A7E #7E251A
square
#417E1A #1A737E #571A7E #7E251A
split-complementary
#417E1A #251A7E #7E1A73
monochromatic
#0D1905 #274B10 #417E1A #5BB124 #78D73C

Accessibility & contrast

On white

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

On black

4.22
#417E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417E1A#FFFFFF#000000##FFFFFF
##417E1A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #417e1a;
/* rgb */ color: rgb(65, 126, 26);
/* oklch */ color: oklch(53.2% 0.144 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ca45f',
    500: '#417e1a',
    950: '#000000',
  },
}
SCSS
$custom: #417e1a;
$custom-light: #7ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#417e1a",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 96.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53177,
    "c": 0.14443,
    "h": 136.2
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#417E1A
secondary
#8642B2
accent
#3FE9A7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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