#417C16#417C16

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

Color values

HEX#417C16
RGBrgb(65, 124, 22)
HSLhsl(95, 70%, 29%)
HSVhsv(95, 82%, 49%)
CMYKcmyk(47.6%, 0%, 82.3%, 51.4%)
CIE-LABlab(46.44, -36.84, 45.51)
CIE-LCHlch(46.44, 58.55, 128.99°)
OKLaboklab(52.6% -0.1029 0.1007)
OKLCHoklch(52.6% 0.144 135.6)
XYZxyz(9.5322, 15.5964, 3.2670)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417C16 #51167C
analogous
#747C16 #417C16 #167C1E
triadic
#417C16 #16417C #7C1641
tetradic
#417C16 #16747C #51167C #7C1E16
square
#417C16 #16747C #51167C #7C1E16
split-complementary
#417C16 #1E167C #7C1674
monochromatic
#0E1A05 #26480D #417C16 #5CB01F #79DB32

Accessibility & contrast

On white

5.10
#417C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #417C16
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417C16#FFFFFF#000000##FFFFFF
##417C161.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#3F7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417c16;
/* rgb */ color: rgb(65, 124, 22);
/* oklch */ color: oklch(52.6% 0.144 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ca25d',
    500: '#417c16',
    950: '#000000',
  },
}
SCSS
$custom: #417c16;
$custom-light: #7ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#417c16",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 94.706,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.144,
    "h": 135.6
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#417C16
secondary
#803DB1
accent
#3BEDA2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #417C16

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

Preview Lab → · Contrast checker → · Palette generator →

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