#8C8B2A#8C8B2A

#8C8B2A is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.117 H 108.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8C8B2A
RGBrgb(140, 139, 42)
HSLhsl(59, 54%, 36%)
HSVhsv(59, 70%, 55%)
CMYKcmyk(0%, 0.7%, 70%, 45.1%)
CIE-LABlab(56.30, -11.93, 49.46)
CIE-LCHlch(56.30, 50.88, 103.56°)
OKLaboklab(61.91% -0.0376 0.1105)
OKLCHoklch(61.91% 0.117 108.8)
XYZxyz(20.4665, 24.2085, 5.7846)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B2A #2A2B8C
analogous
#8C5A2A #8C8B2A #5C8C2A
triadic
#8C8B2A #2A8C8B #8B2A8C
tetradic
#8C8B2A #2A8C5A #2A2B8C #8C2A5C
square
#8C8B2A #2A8C5A #2A2B8C #8C2A5C
split-complementary
#8C8B2A #2A5C8C #5A2A8C
monochromatic
#2E2E0E #5D5C1C #8C8B2A #BBBA38 #D0CE61

Accessibility & contrast

On white

3.59
#8C8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8C8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8B2A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8B2A#FFFFFF#000000##000000
##8C8B2A1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#968278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8b2a;
/* rgb */ color: rgb(140, 139, 42);
/* oklch */ color: oklch(61.9% 0.117 108.8);
Tailwind
colors: {
  custom: {
    50: '#b1ac6a',
    500: '#8c8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b2a;
$custom-light: #b1ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b2a",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 59.388,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61914,
    "c": 0.11669,
    "h": 108.8
  },
  "luminance": 0.24208
}

Semantic roles & 50–950 ramp

primary
#8C8B2A
secondary
#5C5DB5
accent
#4CDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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