#417316#417316

#417316 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.1% C 0.132 H 134.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#417316
RGBrgb(65, 115, 22)
HSLhsl(92, 68%, 27%)
HSVhsv(92, 81%, 45%)
CMYKcmyk(43.5%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.42, -32.93, 42.67)
CIE-LCHlch(43.42, 53.90, 127.66°)
OKLaboklab(50.13% -0.0924 0.0948)
OKLCHoklch(50.13% 0.132 134.3)
XYZxyz(8.4554, 13.4428, 2.9081)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417316 #481673
analogous
#707316 #417316 #16731A
triadic
#417316 #164173 #731641
tetradic
#417316 #167073 #481673 #731A16
square
#417316 #167073 #481673 #731A16
split-complementary
#417316 #1A1673 #731670
monochromatic
#0F1A05 #24400C #417316 #5EA620 #7BD72D

Accessibility & contrast

On white

5.69
#417316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#417316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417316
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417316#FFFFFF#000000##FFFFFF
##4173161.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#406E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417316;
/* rgb */ color: rgb(65, 115, 22);
/* oklch */ color: oklch(50.1% 0.132 134.3);
Tailwind
colors: {
  custom: {
    50: '#7b9c5c',
    500: '#417316',
    950: '#000000',
  },
}
SCSS
$custom: #417316;
$custom-light: #7b9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417316",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 92.258,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.13237,
    "h": 134.3
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#417316
secondary
#763CA9
accent
#3DEB9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417316

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

Preview Lab → · Contrast checker → · Palette generator →

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