#717917#717917

#717917 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#717917
RGBrgb(113, 121, 23)
HSLhsl(65, 68%, 28%)
HSVhsv(65, 81%, 47%)
CMYKcmyk(6.6%, 0%, 81%, 52.5%)
CIE-LABlab(48.57, -15.51, 48.27)
CIE-LCHlch(48.57, 50.70, 107.81°)
OKLaboklab(55.13% -0.0478 0.1054)
OKLCHoklch(55.13% 0.116 114.4)
XYZxyz(13.8025, 17.2476, 3.4125)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717917 #1F1779
analogous
#795017 #717917 #407917
triadic
#717917 #177179 #791771
tetradic
#717917 #177950 #1F1779 #791740
square
#717917 #177950 #1F1779 #791740
split-complementary
#717917 #174079 #501779
monochromatic
#181A05 #41460D #717917 #A1AC21 #CBD832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##717917#FFFFFF#000000##FFFFFF
##7179171.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)
#827420
Tritanopia (blue-blind)
#797167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #717917;
/* rgb */ color: rgb(113, 121, 23);
/* oklch */ color: oklch(55.1% 0.116 114.4);
Tailwind
colors: {
  custom: {
    50: '#9d9f5e',
    500: '#717917',
    950: '#000000',
  },
}
SCSS
$custom: #717917;
$custom-light: #9d9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#717917",
  "rgb": {
    "r": 113,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 64.898,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55133,
    "c": 0.11571,
    "h": 114.4
  },
  "luminance": 0.17247
}

Semantic roles & 50–950 ramp

primary
#717917
secondary
#473EAE
accent
#3DEB4B
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #717917

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

Preview Lab → · Contrast checker → · Palette generator →

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