#8C8719#8C8719

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

Color values

HEX#8C8719
RGBrgb(140, 135, 25)
HSLhsl(57, 70%, 32%)
HSVhsv(57, 82%, 55%)
CMYKcmyk(0%, 3.6%, 82.1%, 45.1%)
CIE-LABlab(55.05, -10.55, 54.29)
CIE-LCHlch(55.05, 55.30, 101.00°)
OKLaboklab(60.89% -0.0353 0.1175)
OKLCHoklch(60.89% 0.123 106.7)
XYZxyz(19.6555, 22.9743, 4.3186)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8719 #191E8C
analogous
#8C4D19 #8C8719 #588C19
triadic
#8C8719 #198C87 #87198C
tetradic
#8C8719 #198C4D #191E8C #8C1958
square
#8C8719 #198C4D #191E8C #8C1958
split-complementary
#8C8719 #19588C #4D198C
monochromatic
#242306 #585510 #8C8719 #C0B922 #DDD742

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8719#FFFFFF#000000##000000
##8C87191.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)
#958623
Tritanopia (blue-blind)
#977D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8c8719;
/* rgb */ color: rgb(140, 135, 25);
/* oklch */ color: oklch(60.9% 0.123 106.7);
Tailwind
colors: {
  custom: {
    50: '#b1a961',
    500: '#8c8719',
    950: '#000000',
  },
}
SCSS
$custom: #8c8719;
$custom-light: #b1a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8719",
  "rgb": {
    "r": 140,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 57.391,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60885,
    "c": 0.12266,
    "h": 106.7
  },
  "luminance": 0.22974
}

Semantic roles & 50–950 ramp

primary
#8C8719
secondary
#4348BE
accent
#43ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8C8719

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

Preview Lab → · Contrast checker → · Palette generator →

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