#717816#717816

#717816 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.9% C 0.115 H 113.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#717816
RGBrgb(113, 120, 22)
HSLhsl(64, 69%, 28%)
HSVhsv(64, 82%, 47%)
CMYKcmyk(5.8%, 0%, 81.7%, 52.9%)
CIE-LABlab(48.26, -15.01, 48.31)
CIE-LCHlch(48.26, 50.59, 107.26°)
OKLaboklab(54.89% -0.0465 0.1053)
OKLCHoklch(54.89% 0.115 113.9)
XYZxyz(13.6718, 17.0019, 3.3204)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717816 #1D1678
analogous
#784E16 #717816 #407816
triadic
#717816 #167178 #781671
tetradic
#717816 #16784E #1D1678 #781640
square
#717816 #16784E #1D1678 #781640
split-complementary
#717816 #164078 #4E1678
monochromatic
#181A05 #40440D #717816 #A2AC1F #CDD92F

Accessibility & contrast

On white

4.77
#717816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#717816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #717816
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717816#FFFFFF#000000##FFFFFF
##7178161.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#797066
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #717816;
/* rgb */ color: rgb(113, 120, 22);
/* oklch */ color: oklch(54.9% 0.115 113.9);
Tailwind
colors: {
  custom: {
    50: '#9d9e5d',
    500: '#717816',
    950: '#000000',
  },
}
SCSS
$custom: #717816;
$custom-light: #9d9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#717816",
  "rgb": {
    "r": 113,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 64.286,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.11509,
    "h": 113.9
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#717816
secondary
#443CAD
accent
#3CEC49
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #717816

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

Preview Lab → · Contrast checker → · Palette generator →

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