#717D1F#717D1F

#717D1F is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.116 H 116.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#717D1F
RGBrgb(113, 125, 31)
HSLhsl(68, 60%, 31%)
HSVhsv(68, 75%, 49%)
CMYKcmyk(9.6%, 0%, 75.2%, 51%)
CIE-LABlab(49.83, -17.26, 46.65)
CIE-LCHlch(49.83, 49.74, 110.30°)
OKLaboklab(56.16% -0.0519 0.1034)
OKLCHoklch(56.16% 0.116 116.7)
XYZxyz(14.3913, 18.2771, 4.0658)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717D1F #2B1F7D
analogous
#7D5A1F #717D1F #427D1F
triadic
#717D1F #1F717D #7D1F71
tetradic
#717D1F #1F7D5A #2B1F7D #7D1F42
square
#717D1F #1F7D5A #2B1F7D #7D1F42
split-complementary
#717D1F #1F427D #5A1F7D
monochromatic
#181B07 #454C13 #717D1F #9DAE2B #BFD145

Accessibility & contrast

On white

4.51
#717D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#717D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #717D1F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717D1F#FFFFFF#000000##000000
##717D1F1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#78766B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #717d1f;
/* rgb */ color: rgb(113, 125, 31);
/* oklch */ color: oklch(56.2% 0.116 116.7);
Tailwind
colors: {
  custom: {
    50: '#9da262',
    500: '#717d1f',
    950: '#000000',
  },
}
SCSS
$custom: #717d1f;
$custom-light: #9da262;
$custom-dark: #000000;
JSON
{
  "hex": "#717d1f",
  "rgb": {
    "r": 113,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 67.66,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.11575,
    "h": 116.7
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#717D1F
secondary
#5548B0
accent
#44E359
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0F05
muted
#7E7E7A

Preview Lab

Preview with #717D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#717D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva