#417216#417216

#417216 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.131 H 134.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#417216
RGBrgb(65, 114, 22)
HSLhsl(92, 68%, 27%)
HSVhsv(92, 81%, 45%)
CMYKcmyk(43%, 0%, 80.7%, 55.3%)
CIE-LABlab(43.09, -32.48, 42.35)
CIE-LCHlch(43.09, 53.37, 127.49°)
OKLaboklab(49.85% -0.0912 0.0941)
OKLCHoklch(49.85% 0.131 134.1)
XYZxyz(8.3420, 13.2159, 2.8703)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417216 #471672
analogous
#6F7216 #417216 #167219
triadic
#417216 #164172 #721641
tetradic
#417216 #166F72 #471672 #721916
square
#417216 #166F72 #471672 #721916
split-complementary
#417216 #191672 #72166F
monochromatic
#0F1A05 #243F0C #417216 #5EA520 #7CD62C

Accessibility & contrast

On white

5.76
#417216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#417216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417216
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417216#FFFFFF#000000##FFFFFF
##4172161.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#406D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417216;
/* rgb */ color: rgb(65, 114, 22);
/* oklch */ color: oklch(49.9% 0.131 134.1);
Tailwind
colors: {
  custom: {
    50: '#7b9b5b',
    500: '#417216',
    950: '#000000',
  },
}
SCSS
$custom: #417216;
$custom-light: #7b9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#417216",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 91.957,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.13105,
    "h": 134.1
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

primary
#417216
secondary
#753CA8
accent
#3DEB9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417216

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

Preview Lab → · Contrast checker → · Palette generator →

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