#417C1F#417C1F

#417C1F is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.139 H 136.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#417C1F
RGBrgb(65, 124, 31)
HSLhsl(98, 60%, 30%)
HSVhsv(98, 75%, 49%)
CMYKcmyk(47.6%, 0%, 75%, 51.4%)
CIE-LABlab(46.50, -36.24, 42.35)
CIE-LCHlch(46.50, 55.74, 130.55°)
OKLaboklab(52.66% -0.1007 0.0955)
OKLCHoklch(52.66% 0.139 136.5)
XYZxyz(9.6347, 15.6374, 3.8067)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C1F #5A1F7C
analogous
#6F7C1F #417C1F #1F7C2C
triadic
#417C1F #1F417C #7C1F41
tetradic
#417C1F #1F6F7C #5A1F7C #7C2C1F
square
#417C1F #1F6F7C #5A1F7C #7C2C1F
split-complementary
#417C1F #2C1F7C #7C1F6F
monochromatic
#0E1A07 #274B13 #417C1F #5BAD2B #78D045

Accessibility & contrast

On white

5.09
#417C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#417C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417C1F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C1F#FFFFFF#000000##FFFFFF
##417C1F1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710E
Deuteranopia (green-blind)
#796C28
Tritanopia (blue-blind)
#3E776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c1f;
/* rgb */ color: rgb(65, 124, 31);
/* oklch */ color: oklch(52.7% 0.139 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ba261',
    500: '#417c1f',
    950: '#000000',
  },
}
SCSS
$custom: #417c1f;
$custom-light: #7ba261;
$custom-dark: #000000;
JSON
{
  "hex": "#417c1f",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 98.065,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.1388,
    "h": 136.5
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#417C1F
secondary
#8948AF
accent
#45E3A9
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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