#417F1E#417F1E

#417F1E is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.143 H 136.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#417F1E
RGBrgb(65, 127, 30)
HSLhsl(98, 62%, 31%)
HSVhsv(98, 76%, 50%)
CMYKcmyk(48.8%, 0%, 76.4%, 50.2%)
CIE-LABlab(47.49, -37.59, 43.73)
CIE-LCHlch(47.49, 57.67, 130.68°)
OKLaboklab(53.48% -0.1044 0.0983)
OKLCHoklch(53.48% 0.143 136.7)
XYZxyz(10.0034, 16.3956, 3.8656)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F1E #5C1E7F
analogous
#717F1E #417F1E #1E7F2C
triadic
#417F1E #1E417F #7F1E41
tetradic
#417F1E #1E717F #5C1E7F #7F2C1E
square
#417F1E #1E717F #5C1E7F #7F2C1E
split-complementary
#417F1E #2C1E7F #7F1E71
monochromatic
#0E1C07 #284D12 #417F1E #5AB12A #78D344

Accessibility & contrast

On white

4.91
#417F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#417F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417F1E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417F1E#FFFFFF#000000##FFFFFF
##417F1E1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740B
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#3E7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f1e;
/* rgb */ color: rgb(65, 127, 30);
/* oklch */ color: oklch(53.5% 0.143 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ca561',
    500: '#417f1e',
    950: '#000000',
  },
}
SCSS
$custom: #417f1e;
$custom-light: #7ca561;
$custom-dark: #000000;
JSON
{
  "hex": "#417f1e",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 98.351,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53479,
    "c": 0.14338,
    "h": 136.7
  },
  "luminance": 0.16396
}

Semantic roles & 50–950 ramp

primary
#417F1E
secondary
#8B47B2
accent
#43E5AA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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