#8C8B1B#8C8B1B

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

Color values

HEX#8C8B1B
RGBrgb(140, 139, 27)
HSLhsl(59, 68%, 33%)
HSVhsv(59, 81%, 55%)
CMYKcmyk(0%, 0.7%, 80.7%, 45.1%)
CIE-LABlab(56.21, -12.63, 54.71)
CIE-LCHlch(56.21, 56.15, 103.00°)
OKLaboklab(61.82% -0.041 0.1188)
OKLCHoklch(61.82% 0.126 109)
XYZxyz(20.2465, 24.1205, 4.6259)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B1B #1B1C8C
analogous
#8C521B #8C8B1B #548C1B
triadic
#8C8B1B #1B8C8B #8B1B8C
tetradic
#8C8B1B #1B8C52 #1B1C8C #8C1B54
square
#8C8B1B #1B8C52 #1B1C8C #8C1B54
split-complementary
#8C8B1B #1B548C #521B8C
monochromatic
#252507 #595811 #8C8B1B #BFBE25 #DBDA46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8B1B#FFFFFF#000000##000000
##8C8B1B1.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)
#988825
Tritanopia (blue-blind)
#978277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8b1b;
/* rgb */ color: rgb(140, 139, 27);
/* oklch */ color: oklch(61.8% 0.126 109.0);
Tailwind
colors: {
  custom: {
    50: '#b1ac63',
    500: '#8c8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b1b;
$custom-light: #b1ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b1b",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 59.469,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61816,
    "c": 0.12563,
    "h": 109
  },
  "luminance": 0.2412
}

Semantic roles & 50–950 ramp

primary
#8C8B1B
secondary
#4647BD
accent
#3FEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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