#8D882A#8D882A

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

Color values

HEX#8D882A
RGBrgb(141, 136, 42)
HSLhsl(57, 54%, 36%)
HSVhsv(57, 70%, 55%)
CMYKcmyk(0%, 3.5%, 70.2%, 44.7%)
CIE-LABlab(55.52, -9.86, 48.72)
CIE-LCHlch(55.52, 49.70, 101.45°)
OKLaboklab(61.32% -0.0318 0.1089)
OKLCHoklch(61.32% 0.113 106.3)
XYZxyz(20.2074, 23.4389, 5.6498)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D882A #2A2F8D
analogous
#8D562A #8D882A #608D2A
triadic
#8D882A #2A8D88 #882A8D
tetradic
#8D882A #2A8D56 #2A2F8D #8D2A60
square
#8D882A #2A8D56 #2A2F8D #8D2A60
split-complementary
#8D882A #2A608D #562A8D
monochromatic
#2F2D0E #5E5B1C #8D882A #BCB538 #D0CA61

Accessibility & contrast

On white

3.69
#8D882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8D882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D882A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D882A#FFFFFF#000000##000000
##8D882A1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831C
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#977F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d882a;
/* rgb */ color: rgb(141, 136, 42);
/* oklch */ color: oklch(61.3% 0.113 106.3);
Tailwind
colors: {
  custom: {
    50: '#b1aa6a',
    500: '#8d882a',
    950: '#000000',
  },
}
SCSS
$custom: #8d882a;
$custom-light: #b1aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d882a",
  "rgb": {
    "r": 141,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 56.97,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61318,
    "c": 0.11342,
    "h": 106.3
  },
  "luminance": 0.23438
}

Semantic roles & 50–950 ramp

primary
#8D882A
secondary
#5D61B6
accent
#52DD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D882A

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

Preview Lab → · Contrast checker → · Palette generator →

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