#717311#717311

#717311 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.6% C 0.112 H 110.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#717311
RGBrgb(113, 115, 17)
HSLhsl(61, 74%, 26%)
HSVhsv(61, 85%, 45%)
CMYKcmyk(1.7%, 0%, 85.2%, 54.9%)
CIE-LABlab(46.73, -12.49, 48.46)
CIE-LCHlch(46.73, 50.04, 104.45°)
OKLaboklab(53.65% -0.0399 0.1046)
OKLCHoklch(53.65% 0.112 110.9)
XYZxyz(13.0424, 15.8130, 2.8954)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717311 #131173
analogous
#734411 #717311 #407311
triadic
#717311 #117173 #731171
tetradic
#717311 #117344 #131173 #731140
square
#717311 #117344 #131173 #731140
split-complementary
#717311 #114073 #441173
monochromatic
#1A1B04 #3D3E09 #717311 #A5A819 #DADE21

Accessibility & contrast

On white

5.04
#717311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#717311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #717311
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717311#FFFFFF#000000##FFFFFF
##7173111.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#7E701B
Tritanopia (blue-blind)
#7A6B62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #717311;
/* rgb */ color: rgb(113, 115, 17);
/* oklch */ color: oklch(53.6% 0.112 110.9);
Tailwind
colors: {
  custom: {
    50: '#9d9b5a',
    500: '#717311',
    950: '#000000',
  },
}
SCSS
$custom: #717311;
$custom-light: #9d9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#717311",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 61.224,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.11198,
    "h": 110.9
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#717311
secondary
#3836AA
accent
#37F13B
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #717311

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

Preview Lab → · Contrast checker → · Palette generator →

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