#717318#717318

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

Color values

HEX#717318
RGBrgb(113, 115, 24)
HSLhsl(61, 65%, 27%)
HSVhsv(61, 79%, 45%)
CMYKcmyk(1.7%, 0%, 79.1%, 54.9%)
CIE-LABlab(46.76, -12.21, 46.29)
CIE-LCHlch(46.76, 47.88, 104.78°)
OKLaboklab(53.69% -0.0386 0.1014)
OKLCHoklch(53.69% 0.108 110.8)
XYZxyz(13.1061, 15.8385, 3.2307)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717318 #1A1873
analogous
#734818 #717318 #437318
triadic
#717318 #187173 #731871
tetradic
#717318 #187348 #1A1873 #731843
square
#717318 #187348 #1A1873 #731843
split-complementary
#717318 #184373 #481873
monochromatic
#191905 #3F400D #717318 #A3A623 #D0D431

Accessibility & contrast

On white

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

On black

4.17
#717318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##717318#FFFFFF#000000##FFFFFF
##7173181.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#796B62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #717318;
/* rgb */ color: rgb(113, 115, 24);
/* oklch */ color: oklch(53.7% 0.108 110.8);
Tailwind
colors: {
  custom: {
    50: '#9d9b5d',
    500: '#717318',
    950: '#000000',
  },
}
SCSS
$custom: #717318;
$custom-light: #9d9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#717318",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 61.319,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.10845,
    "h": 110.8
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#717318
secondary
#413FA8
accent
#3FE843
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #717318

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

Preview Lab → · Contrast checker → · Palette generator →

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