#8C8A32#8C8A32

#8C8A32 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.109 H 108.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8C8A32
RGBrgb(140, 138, 50)
HSLhsl(59, 47%, 37%)
HSVhsv(59, 64%, 55%)
CMYKcmyk(0%, 1.4%, 64.3%, 45.1%)
CIE-LABlab(56.07, -10.90, 45.83)
CIE-LCHlch(56.07, 47.10, 103.37°)
OKLaboklab(61.76% -0.0338 0.1041)
OKLCHoklch(61.76% 0.109 108)
XYZxyz(20.4801, 23.9833, 6.5674)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A32 #32348C
analogous
#8C5D32 #8C8A32 #618C32
triadic
#8C8A32 #328C8A #8A328C
tetradic
#8C8A32 #328C5D #32348C #8C3261
square
#8C8A32 #328C5D #32348C #8C3261
split-complementary
#8C8A32 #32618C #5D328C
monochromatic
#323112 #5F5E22 #8C8A32 #B9B642 #CBC96D

Accessibility & contrast

On white

3.62
#8C8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8C8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A32
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A32#FFFFFF#000000##000000
##8C8A321.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958527
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#968178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a32;
/* rgb */ color: rgb(140, 138, 50);
/* oklch */ color: oklch(61.8% 0.109 108.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab6e',
    500: '#8c8a32',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a32;
$custom-light: #b0ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a32",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 58.667,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.10947,
    "h": 108
  },
  "luminance": 0.23983
}

Semantic roles & 50–950 ramp

primary
#8C8A32
secondary
#6769B3
accent
#54D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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