#417716#417716

#417716 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.2% C 0.138 H 134.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#417716
RGBrgb(65, 119, 22)
HSLhsl(93, 69%, 28%)
HSVhsv(93, 82%, 47%)
CMYKcmyk(45.4%, 0%, 81.5%, 53.3%)
CIE-LABlab(44.77, -34.69, 43.94)
CIE-LCHlch(44.77, 55.98, 128.29°)
OKLaboklab(51.23% -0.0971 0.0974)
OKLCHoklch(51.23% 0.138 134.9)
XYZxyz(8.9214, 14.3749, 3.0634)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417716 #4C1677
analogous
#717716 #417716 #16771C
triadic
#417716 #164177 #771641
tetradic
#417716 #167177 #4C1677 #771C16
square
#417716 #167177 #4C1677 #771C16
split-complementary
#417716 #1C1677 #771671
monochromatic
#0E1A05 #25430C #417716 #5DAB20 #7AD92F

Accessibility & contrast

On white

5.42
#417716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#417716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417716
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417716#FFFFFF#000000##FFFFFF
##4177161.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#407265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #417716;
/* rgb */ color: rgb(65, 119, 22);
/* oklch */ color: oklch(51.2% 0.138 134.9);
Tailwind
colors: {
  custom: {
    50: '#7b9f5c',
    500: '#417716',
    950: '#000000',
  },
}
SCSS
$custom: #417716;
$custom-light: #7b9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417716",
  "rgb": {
    "r": 65,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 93.402,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.13758,
    "h": 134.9
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#417716
secondary
#7B3CAC
accent
#3CEC9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417716

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

Preview Lab → · Contrast checker → · Palette generator →

#417716 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva