#717217#717217

#717217 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.4% C 0.108 H 110.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#717217
RGBrgb(113, 114, 23)
HSLhsl(61, 66%, 27%)
HSVhsv(61, 80%, 45%)
CMYKcmyk(0.9%, 0%, 79.8%, 55.3%)
CIE-LABlab(46.46, -11.70, 46.36)
CIE-LCHlch(46.46, 47.81, 104.17°)
OKLaboklab(53.44% -0.0373 0.1013)
OKLCHoklch(53.44% 0.108 110.2)
XYZxyz(12.9825, 15.6076, 3.1391)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717217 #181772
analogous
#724617 #717217 #447217
triadic
#717217 #177172 #721771
tetradic
#717217 #177246 #181772 #721744
square
#717217 #177246 #181772 #721744
split-complementary
#717217 #174472 #461772
monochromatic
#191905 #3F3F0D #717217 #A3A521 #D3D52E

Accessibility & contrast

On white

5.10
#717217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#717217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #717217
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717217#FFFFFF#000000##FFFFFF
##7172171.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#7D6F1F
Tritanopia (blue-blind)
#796A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #717217;
/* rgb */ color: rgb(113, 114, 23);
/* oklch */ color: oklch(53.4% 0.108 110.2);
Tailwind
colors: {
  custom: {
    50: '#9d9a5d',
    500: '#717217',
    950: '#000000',
  },
}
SCSS
$custom: #717217;
$custom-light: #9d9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#717217",
  "rgb": {
    "r": 113,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 60.659,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.5344,
    "c": 0.10792,
    "h": 110.2
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#717217
secondary
#3E3DA8
accent
#3EE940
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #717217

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

Preview Lab → · Contrast checker → · Palette generator →

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