#417F19#417F19

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

Color values

HEX#417F19
RGBrgb(65, 127, 25)
HSLhsl(96, 67%, 30%)
HSVhsv(96, 80%, 50%)
CMYKcmyk(48.8%, 0%, 80.3%, 50.2%)
CIE-LABlab(47.46, -37.92, 45.49)
CIE-LCHlch(47.46, 59.22, 129.82°)
OKLaboklab(53.44% -0.1056 0.1012)
OKLCHoklch(53.44% 0.146 136.2)
XYZxyz(9.9445, 16.3721, 3.5556)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F19 #57197F
analogous
#747F19 #417F19 #197F24
triadic
#417F19 #19417F #7F1941
tetradic
#417F19 #19747F #57197F #7F2419
square
#417F19 #19747F #57197F #7F2419
split-complementary
#417F19 #24197F #7F1974
monochromatic
#0D1A05 #274C0F #417F19 #5BB223 #78D83A

Accessibility & contrast

On white

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

On black

4.27
#417F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417F19#FFFFFF#000000##FFFFFF
##417F191.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#3E7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f19;
/* rgb */ color: rgb(65, 127, 25);
/* oklch */ color: oklch(53.4% 0.146 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ca55f',
    500: '#417f19',
    950: '#000000',
  },
}
SCSS
$custom: #417f19;
$custom-light: #7ca55f;
$custom-dark: #000000;
JSON
{
  "hex": "#417f19",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 96.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.14626,
    "h": 136.2
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#417F19
secondary
#8641B3
accent
#3EEAA6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417F19

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

Preview Lab → · Contrast checker → · Palette generator →

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