#417F1D#417F1D

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

Color values

HEX#417F1D
RGBrgb(65, 127, 29)
HSLhsl(98, 63%, 31%)
HSVhsv(98, 77%, 50%)
CMYKcmyk(48.8%, 0%, 77.2%, 50.2%)
CIE-LABlab(47.48, -37.66, 44.10)
CIE-LCHlch(47.48, 57.99, 130.50°)
OKLaboklab(53.47% -0.1047 0.0989)
OKLCHoklch(53.47% 0.144 136.6)
XYZxyz(9.9908, 16.3906, 3.7994)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F1D #5B1D7F
analogous
#727F1D #417F1D #1D7F2A
triadic
#417F1D #1D417F #7F1D41
tetradic
#417F1D #1D727F #5B1D7F #7F2A1D
square
#417F1D #1D727F #5B1D7F #7F2A1D
split-complementary
#417F1D #2A1D7F #7F1D72
monochromatic
#0E1B06 #274D12 #417F1D #5AB128 #78D442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417F1D#FFFFFF#000000##FFFFFF
##417F1D1.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)
#847408
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#3E7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f1d;
/* rgb */ color: rgb(65, 127, 29);
/* oklch */ color: oklch(53.5% 0.144 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ca561',
    500: '#417f1d',
    950: '#000000',
  },
}
SCSS
$custom: #417f1d;
$custom-light: #7ca561;
$custom-dark: #000000;
JSON
{
  "hex": "#417f1d",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 97.959,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.14398,
    "h": 136.6
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#417F1D
secondary
#8A45B2
accent
#42E6AA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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