#8C8B19#8C8B19

#8C8B19 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.127 H 109.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8C8B19
RGBrgb(140, 139, 25)
HSLhsl(59, 70%, 32%)
HSVhsv(59, 82%, 55%)
CMYKcmyk(0%, 0.7%, 82.1%, 45.1%)
CIE-LABlab(56.20, -12.70, 55.29)
CIE-LCHlch(56.20, 56.73, 102.94°)
OKLaboklab(61.81% -0.0413 0.1196)
OKLCHoklch(61.81% 0.127 109.1)
XYZxyz(20.2241, 24.1115, 4.5082)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B19 #191A8C
analogous
#8C5119 #8C8B19 #548C19
triadic
#8C8B19 #198C8B #8B198C
tetradic
#8C8B19 #198C51 #191A8C #8C1954
square
#8C8B19 #198C51 #191A8C #8C1954
split-complementary
#8C8B19 #19548C #51198C
monochromatic
#242406 #585710 #8C8B19 #C0BF22 #DDDC42

Accessibility & contrast

On white

3.61
#8C8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8C8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8B19
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8B19#FFFFFF#000000##000000
##8C8B191.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998824
Tritanopia (blue-blind)
#978176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8b19;
/* rgb */ color: rgb(140, 139, 25);
/* oklch */ color: oklch(61.8% 0.127 109.1);
Tailwind
colors: {
  custom: {
    50: '#b1ac62',
    500: '#8c8b19',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b19;
$custom-light: #b1ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b19",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 59.478,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61806,
    "c": 0.12656,
    "h": 109.1
  },
  "luminance": 0.24111
}

Semantic roles & 50–950 ramp

primary
#8C8B19
secondary
#4344BE
accent
#3DED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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