#8C8A19#8C8A19

#8C8A19 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.126 H 108.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8C8A19
RGBrgb(140, 138, 25)
HSLhsl(59, 70%, 32%)
HSVhsv(59, 82%, 55%)
CMYKcmyk(0%, 1.4%, 82.1%, 45.1%)
CIE-LABlab(55.91, -12.17, 55.04)
CIE-LCHlch(55.91, 56.37, 102.47°)
OKLaboklab(61.58% -0.0398 0.1191)
OKLCHoklch(61.58% 0.126 108.5)
XYZxyz(20.0800, 23.8233, 4.4601)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A19 #191B8C
analogous
#8C5119 #8C8A19 #548C19
triadic
#8C8A19 #198C8A #8A198C
tetradic
#8C8A19 #198C51 #191B8C #8C1954
square
#8C8A19 #198C51 #191B8C #8C1954
split-complementary
#8C8A19 #19548C #51198C
monochromatic
#242406 #585710 #8C8A19 #C0BD22 #DDDB42

Accessibility & contrast

On white

3.64
#8C8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8C8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A19
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A19#FFFFFF#000000##000000
##8C8A191.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#978076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a19;
/* rgb */ color: rgb(140, 138, 25);
/* oklch */ color: oklch(61.6% 0.126 108.5);
Tailwind
colors: {
  custom: {
    50: '#b1ab62',
    500: '#8c8a19',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a19;
$custom-light: #b1ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a19",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 58.957,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.12558,
    "h": 108.5
  },
  "luminance": 0.23823
}

Semantic roles & 50–950 ramp

primary
#8C8A19
secondary
#4345BE
accent
#3EED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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