#417F1F#417F1F

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

Color values

HEX#417F1F
RGBrgb(65, 127, 31)
HSLhsl(99, 61%, 31%)
HSVhsv(99, 76%, 50%)
CMYKcmyk(48.8%, 0%, 75.6%, 50.2%)
CIE-LABlab(47.50, -37.52, 43.36)
CIE-LCHlch(47.50, 57.34, 130.87°)
OKLaboklab(53.49% -0.1041 0.0976)
OKLCHoklch(53.49% 0.143 136.8)
XYZxyz(10.0164, 16.4008, 3.9339)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417F1F #5D1F7F
analogous
#717F1F #417F1F #1F7F2D
triadic
#417F1F #1F417F #7F1F41
tetradic
#417F1F #1F717F #5D1F7F #7F2D1F
square
#417F1F #1F717F #5D1F7F #7F2D1F
split-complementary
#417F1F #2D1F7F #7F1F71
monochromatic
#0F1D07 #284E13 #417F1F #5AB02B #78D246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417F1F#FFFFFF#000000##FFFFFF
##417F1F1.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)
#83740D
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#3E7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #417f1f;
/* rgb */ color: rgb(65, 127, 31);
/* oklch */ color: oklch(53.5% 0.143 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ca562',
    500: '#417f1f',
    950: '#000000',
  },
}
SCSS
$custom: #417f1f;
$custom-light: #7ca562;
$custom-dark: #000000;
JSON
{
  "hex": "#417f1f",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 98.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.14275,
    "h": 136.8
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

primary
#417F1F
secondary
#8C48B2
accent
#44E4AB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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