#8C882B#8C882B

#8C882B is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.113 H 106.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8C882B
RGBrgb(140, 136, 43)
HSLhsl(58, 53%, 36%)
HSVhsv(58, 69%, 55%)
CMYKcmyk(0%, 2.9%, 69.3%, 45.1%)
CIE-LABlab(55.44, -10.26, 48.19)
CIE-LCHlch(55.44, 49.27, 102.02°)
OKLaboklab(61.23% -0.0328 0.108)
OKLCHoklch(61.23% 0.113 106.9)
XYZxyz(20.0562, 23.3589, 5.7373)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C882B #2B2F8C
analogous
#8C572B #8C882B #5F8C2B
triadic
#8C882B #2B8C88 #882B8C
tetradic
#8C882B #2B8C57 #2B2F8C #8C2B5F
square
#8C882B #2B8C57 #2B2F8C #8C2B5F
split-complementary
#8C882B #2B5F8C #572B8C
monochromatic
#2E2D0E #5D5B1D #8C882B #BBB539 #CFCA62

Accessibility & contrast

On white

3.70
#8C882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8C882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C882B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C882B#FFFFFF#000000##000000
##8C882B1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#967F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8c882b;
/* rgb */ color: rgb(140, 136, 43);
/* oklch */ color: oklch(61.2% 0.113 106.9);
Tailwind
colors: {
  custom: {
    50: '#b0aa6a',
    500: '#8c882b',
    950: '#000000',
  },
}
SCSS
$custom: #8c882b;
$custom-light: #b0aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c882b",
  "rgb": {
    "r": 140,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 57.526,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.11283,
    "h": 106.9
  },
  "luminance": 0.23358
}

Semantic roles & 50–950 ramp

primary
#8C882B
secondary
#5E61B5
accent
#51DC4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C882B

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

Preview Lab → · Contrast checker → · Palette generator →

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