#417E1C#417E1C

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

Color values

HEX#417E1C
RGBrgb(65, 126, 28)
HSLhsl(97, 64%, 30%)
HSVhsv(97, 78%, 49%)
CMYKcmyk(48.4%, 0%, 77.8%, 50.6%)
CIE-LABlab(47.14, -37.31, 44.13)
CIE-LCHlch(47.14, 57.79, 130.21°)
OKLaboklab(53.19% -0.1038 0.0988)
OKLCHoklch(53.19% 0.143 136.4)
XYZxyz(9.8502, 16.1287, 3.6925)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E1C #591C7E
analogous
#727E1C #417E1C #1C7E28
triadic
#417E1C #1C417E #7E1C41
tetradic
#417E1C #1C727E #591C7E #7E281C
square
#417E1C #1C727E #591C7E #7E281C
split-complementary
#417E1C #281C7E #7E1C72
monochromatic
#0D1A06 #274C11 #417E1C #5BB027 #78D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417E1C#FFFFFF#000000##FFFFFF
##417E1C1.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)
#837306
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#3E796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e1c;
/* rgb */ color: rgb(65, 126, 28);
/* oklch */ color: oklch(53.2% 0.143 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ca460',
    500: '#417e1c',
    950: '#000000',
  },
}
SCSS
$custom: #417e1c;
$custom-light: #7ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#417e1c",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 97.347,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.14328,
    "h": 136.4
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#417E1C
secondary
#8844B2
accent
#41E7A8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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