#417A1C#417A1C

#417A1C is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.138 H 135.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#417A1C
RGBrgb(65, 122, 28)
HSLhsl(96, 63%, 29%)
HSVhsv(96, 77%, 48%)
CMYKcmyk(46.7%, 0%, 77%, 52.2%)
CIE-LABlab(45.81, -35.60, 42.82)
CIE-LCHlch(45.81, 55.69, 129.74°)
OKLaboklab(52.09% -0.0992 0.096)
OKLCHoklch(52.09% 0.138 135.9)
XYZxyz(9.3489, 15.1262, 3.5254)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417A1C #551C7A
analogous
#707A1C #417A1C #1C7A26
triadic
#417A1C #1C417A #7A1C41
tetradic
#417A1C #1C707A #551C7A #7A261C
square
#417A1C #1C707A #551C7A #7A261C
split-complementary
#417A1C #261C7A #7A1C70
monochromatic
#0D1906 #264811 #417A1C #5CAC27 #78D33E

Accessibility & contrast

On white

5.22
#417A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#417A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417A1C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417A1C#FFFFFF#000000##FFFFFF
##417A1C1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F09
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#3F7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #417a1c;
/* rgb */ color: rgb(65, 122, 28);
/* oklch */ color: oklch(52.1% 0.138 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ba15f',
    500: '#417a1c',
    950: '#000000',
  },
}
SCSS
$custom: #417a1c;
$custom-light: #7ba15f;
$custom-dark: #000000;
JSON
{
  "hex": "#417a1c",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 96.383,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.13806,
    "h": 135.9
  },
  "luminance": 0.15127
}

Semantic roles & 50–950 ramp

primary
#417A1C
secondary
#8444AE
accent
#42E6A5
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #417A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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