#8C8019#8C8019

#8C8019 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.116 H 102.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8C8019
RGBrgb(140, 128, 25)
HSLhsl(54, 70%, 32%)
HSVhsv(54, 82%, 55%)
CMYKcmyk(0%, 8.6%, 82.1%, 45.1%)
CIE-LABlab(53.04, -6.73, 52.53)
CIE-LCHlch(53.04, 52.96, 97.30°)
OKLaboklab(59.29% -0.0247 0.1137)
OKLCHoklch(59.29% 0.116 102.2)
XYZxyz(18.7108, 21.0848, 4.0037)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8019 #19258C
analogous
#8C4619 #8C8019 #5F8C19
triadic
#8C8019 #198C80 #80198C
tetradic
#8C8019 #198C46 #19258C #8C195F
square
#8C8019 #198C46 #19258C #8C195F
split-complementary
#8C8019 #195F8C #46198C
monochromatic
#242106 #585110 #8C8019 #C0AF22 #DDCD42

Accessibility & contrast

On white

4.03
#8C8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8C8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8019
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8019#FFFFFF#000000##000000
##8C80191.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#97766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c8019;
/* rgb */ color: rgb(140, 128, 25);
/* oklch */ color: oklch(59.3% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#b1a460',
    500: '#8c8019',
    950: '#000000',
  },
}
SCSS
$custom: #8c8019;
$custom-light: #b1a460;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8019",
  "rgb": {
    "r": 140,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 53.739,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.11632,
    "h": 102.2
  },
  "luminance": 0.21084
}

Semantic roles & 50–950 ramp

primary
#8C8019
secondary
#4350BE
accent
#4EED3B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8C8019

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

Preview Lab → · Contrast checker → · Palette generator →

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