#8C8232#8C8232

#8C8232 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.101 H 102.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8C8232
RGBrgb(140, 130, 50)
HSLhsl(53, 47%, 37%)
HSVhsv(53, 64%, 55%)
CMYKcmyk(0%, 7.1%, 64.3%, 45.1%)
CIE-LABlab(53.78, -6.53, 43.38)
CIE-LCHlch(53.78, 43.87, 98.56°)
OKLaboklab(59.94% -0.0214 0.099)
OKLCHoklch(59.94% 0.101 102.2)
XYZxyz(19.3743, 21.7718, 6.1988)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8232 #323C8C
analogous
#8C5532 #8C8232 #698C32
triadic
#8C8232 #328C82 #82328C
tetradic
#8C8232 #328C55 #323C8C #8C3269
square
#8C8232 #328C55 #323C8C #8C3269
split-complementary
#8C8232 #32698C #55328C
monochromatic
#322E12 #5F5822 #8C8232 #B9AC42 #CBC16D

Accessibility & contrast

On white

3.92
#8C8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8C8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8232
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8232#FFFFFF#000000##000000
##8C82321.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E29
Deuteranopia (green-blind)
#918236
Tritanopia (blue-blind)
#967971
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8c8232;
/* rgb */ color: rgb(140, 130, 50);
/* oklch */ color: oklch(59.9% 0.101 102.2);
Tailwind
colors: {
  custom: {
    50: '#b0a66e',
    500: '#8c8232',
    950: '#000000',
  },
}
SCSS
$custom: #8c8232;
$custom-light: #b0a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8232",
  "rgb": {
    "r": 140,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 53.333,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59935,
    "c": 0.10124,
    "h": 102.2
  },
  "luminance": 0.21771
}

Semantic roles & 50–950 ramp

primary
#8C8232
secondary
#676FB3
accent
#60D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8C8232

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

Preview Lab → · Contrast checker → · Palette generator →

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