#417E1E#417E1E

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

Color values

HEX#417E1E
RGBrgb(65, 126, 30)
HSLhsl(98, 62%, 31%)
HSVhsv(98, 76%, 49%)
CMYKcmyk(48.4%, 0%, 76.2%, 50.6%)
CIE-LABlab(47.16, -37.17, 43.40)
CIE-LCHlch(47.16, 57.14, 130.58°)
OKLaboklab(53.21% -0.1033 0.0976)
OKLCHoklch(53.21% 0.142 136.6)
XYZxyz(9.8749, 16.1386, 3.8228)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417E1E #5B1E7E
analogous
#717E1E #417E1E #1E7E2B
triadic
#417E1E #1E417E #7E1E41
tetradic
#417E1E #1E717E #5B1E7E #7E2B1E
square
#417E1E #1E717E #5B1E7E #7E2B1E
split-complementary
#417E1E #2B1E7E #7E1E71
monochromatic
#0E1B06 #274D12 #417E1E #5AAF2A #78D244

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417E1E#FFFFFF#000000##FFFFFF
##417E1E1.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)
#82730B
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#3E796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #417e1e;
/* rgb */ color: rgb(65, 126, 30);
/* oklch */ color: oklch(53.2% 0.142 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ca461',
    500: '#417e1e',
    950: '#000000',
  },
}
SCSS
$custom: #417e1e;
$custom-light: #7ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#417e1e",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 98.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.14207,
    "h": 136.6
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#417E1E
secondary
#8A47B1
accent
#43E5AA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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