#417C1A#417C1A

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

Color values

HEX#417C1A
RGBrgb(65, 124, 26)
HSLhsl(96, 65%, 29%)
HSVhsv(96, 79%, 49%)
CMYKcmyk(47.6%, 0%, 79%, 51.4%)
CIE-LABlab(46.46, -36.60, 44.19)
CIE-LCHlch(46.46, 57.37, 129.63°)
OKLaboklab(52.63% -0.102 0.0986)
OKLCHoklch(52.63% 0.142 136)
XYZxyz(9.5738, 15.6131, 3.4862)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C1A #551A7C
analogous
#727C1A #417C1A #1A7C24
triadic
#417C1A #1A417C #7C1A41
tetradic
#417C1A #1A727C #551A7C #7C241A
square
#417C1A #1A727C #551A7C #7C241A
split-complementary
#417C1A #241A7C #7C1A72
monochromatic
#0D1905 #26490F #417C1A #5CAF25 #78D63B

Accessibility & contrast

On white

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

On black

4.12
#417C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##417C1A#FFFFFF#000000##FFFFFF
##417C1A1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#3F776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c1a;
/* rgb */ color: rgb(65, 124, 26);
/* oklch */ color: oklch(52.6% 0.142 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ca25f',
    500: '#417c1a',
    950: '#000000',
  },
}
SCSS
$custom: #417c1a;
$custom-light: #7ca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#417c1a",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 96.122,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52628,
    "c": 0.14186,
    "h": 136
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#417C1A
secondary
#8442B0
accent
#40E8A5
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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