#717916#717916

#717916 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.1% C 0.116 H 114.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#717916
RGBrgb(113, 121, 22)
HSLhsl(65, 69%, 28%)
HSVhsv(65, 82%, 47%)
CMYKcmyk(6.6%, 0%, 81.8%, 52.5%)
CIE-LABlab(48.57, -15.55, 48.58)
CIE-LCHlch(48.57, 51.01, 107.75°)
OKLaboklab(55.13% -0.048 0.1058)
OKLCHoklch(55.13% 0.116 114.4)
XYZxyz(13.7927, 17.2437, 3.3607)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717916 #1E1679
analogous
#794F16 #717916 #407916
triadic
#717916 #167179 #791671
tetradic
#717916 #16794F #1E1679 #791640
square
#717916 #16794F #1E1679 #791640
split-complementary
#717916 #164079 #4F1679
monochromatic
#181A05 #41450D #717916 #A1AD1F #CCD930

Accessibility & contrast

On white

4.72
#717916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#717916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #717916
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717916#FFFFFF#000000##FFFFFF
##7179161.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#797167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #717916;
/* rgb */ color: rgb(113, 121, 22);
/* oklch */ color: oklch(55.1% 0.116 114.4);
Tailwind
colors: {
  custom: {
    50: '#9d9f5d',
    500: '#717916',
    950: '#000000',
  },
}
SCSS
$custom: #717916;
$custom-light: #9d9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#717916",
  "rgb": {
    "r": 113,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 64.848,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.11623,
    "h": 114.4
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#717916
secondary
#463DAE
accent
#3CEC4A
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #717916

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

Preview Lab → · Contrast checker → · Palette generator →

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