#8C8718#8C8718

#8C8718 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.123 H 106.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8C8718
RGBrgb(140, 135, 24)
HSLhsl(57, 71%, 32%)
HSVhsv(57, 83%, 55%)
CMYKcmyk(0%, 3.6%, 82.9%, 45.1%)
CIE-LABlab(55.04, -10.59, 54.57)
CIE-LCHlch(55.04, 55.59, 100.98°)
OKLaboklab(60.88% -0.0355 0.1179)
OKLCHoklch(60.88% 0.123 106.8)
XYZxyz(19.6449, 22.9701, 4.2628)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8718 #181D8C
analogous
#8C4D18 #8C8718 #578C18
triadic
#8C8718 #188C87 #87188C
tetradic
#8C8718 #188C4D #181D8C #8C1857
square
#8C8718 #188C4D #181D8C #8C1857
split-complementary
#8C8718 #18578C #4D188C
monochromatic
#242206 #58550F #8C8718 #C0B921 #DED740

Accessibility & contrast

On white

3.75
#8C8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8C8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8718
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8718#FFFFFF#000000##000000
##8C87181.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#977D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8c8718;
/* rgb */ color: rgb(140, 135, 24);
/* oklch */ color: oklch(60.9% 0.123 106.8);
Tailwind
colors: {
  custom: {
    50: '#b1a961',
    500: '#8c8718',
    950: '#000000',
  },
}
SCSS
$custom: #8c8718;
$custom-light: #b1a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8718",
  "rgb": {
    "r": 140,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 57.414,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.6088,
    "c": 0.12312,
    "h": 106.8
  },
  "luminance": 0.22969
}

Semantic roles & 50–950 ramp

primary
#8C8718
secondary
#4146BF
accent
#42ED3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8C8718

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

Preview Lab → · Contrast checker → · Palette generator →

#8C8718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva