#717216#717216

#717216 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.4% C 0.108 H 110.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#717216
RGBrgb(113, 114, 22)
HSLhsl(61, 68%, 27%)
HSVhsv(61, 81%, 45%)
CMYKcmyk(0.9%, 0%, 80.7%, 55.3%)
CIE-LABlab(46.45, -11.75, 46.69)
CIE-LCHlch(46.45, 48.14, 104.12°)
OKLaboklab(53.43% -0.0375 0.1018)
OKLCHoklch(53.43% 0.108 110.2)
XYZxyz(12.9727, 15.6036, 3.0873)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717216 #171672
analogous
#724516 #717216 #437216
triadic
#717216 #167172 #721671
tetradic
#717216 #167245 #171672 #721643
square
#717216 #167245 #171672 #721643
split-complementary
#717216 #164372 #451672
monochromatic
#191A05 #3E3F0C #717216 #A4A520 #D4D62C

Accessibility & contrast

On white

5.10
#717216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#717216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##717216#FFFFFF#000000##FFFFFF
##7172161.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)
#7C6D00
Deuteranopia (green-blind)
#7D6F1E
Tritanopia (blue-blind)
#7A6A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #717216;
/* rgb */ color: rgb(113, 114, 22);
/* oklch */ color: oklch(53.4% 0.108 110.2);
Tailwind
colors: {
  custom: {
    50: '#9d9a5c',
    500: '#717216',
    950: '#000000',
  },
}
SCSS
$custom: #717216;
$custom-light: #9d9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#717216",
  "rgb": {
    "r": 113,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 60.652,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.10847,
    "h": 110.2
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#717216
secondary
#3D3CA8
accent
#3DEB3F
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #717216

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

Preview Lab → · Contrast checker → · Palette generator →

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