#417F1C#417F1C

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

Color values

HEX#417F1C
RGBrgb(65, 127, 28)
HSLhsl(98, 64%, 30%)
HSVhsv(98, 78%, 50%)
CMYKcmyk(48.8%, 0%, 78%, 50.2%)
CIE-LABlab(47.48, -37.73, 44.46)
CIE-LCHlch(47.48, 58.31, 130.32°)
OKLaboklab(53.47% -0.1049 0.0995)
OKLCHoklch(53.47% 0.145 136.5)
XYZxyz(9.9787, 16.3857, 3.7353)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F1C #5A1C7F
analogous
#727F1C #417F1C #1C7F29
triadic
#417F1C #1C417F #7F1C41
tetradic
#417F1C #1C727F #5A1C7F #7F291C
square
#417F1C #1C727F #5A1C7F #7F291C
split-complementary
#417F1C #291C7F #7F1C72
monochromatic
#0E1B06 #274D11 #417F1C #5BB127 #78D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417F1C#FFFFFF#000000##FFFFFF
##417F1C1.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)
#847406
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#3E7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f1c;
/* rgb */ color: rgb(65, 127, 28);
/* oklch */ color: oklch(53.5% 0.145 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ca560',
    500: '#417f1c',
    950: '#000000',
  },
}
SCSS
$custom: #417f1c;
$custom-light: #7ca560;
$custom-dark: #000000;
JSON
{
  "hex": "#417f1c",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 97.576,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.14457,
    "h": 136.5
  },
  "luminance": 0.16386
}

Semantic roles & 50–950 ramp

primary
#417F1C
secondary
#8944B3
accent
#41E7A9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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