#8D882B#8D882B

#8D882B 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#8D882B
RGBrgb(141, 136, 43)
HSLhsl(57, 53%, 36%)
HSVhsv(57, 70%, 55%)
CMYKcmyk(0%, 3.5%, 69.5%, 44.7%)
CIE-LABlab(55.53, -9.81, 48.31)
CIE-LCHlch(55.53, 49.30, 101.47°)
OKLaboklab(61.33% -0.0315 0.1082)
OKLCHoklch(61.33% 0.113 106.3)
XYZxyz(20.2255, 23.4462, 5.7452)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D882B #2B308D
analogous
#8D572B #8D882B #618D2B
triadic
#8D882B #2B8D88 #882B8D
tetradic
#8D882B #2B8D57 #2B308D #8D2B61
square
#8D882B #2B8D57 #2B308D #8D2B61
split-complementary
#8D882B #2B618D #572B8D
monochromatic
#2F2E0E #5E5B1D #8D882B #BCB539 #CFCA63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D882B#FFFFFF#000000##000000
##8D882B1.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)
#94831D
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#977F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d882b;
/* rgb */ color: rgb(141, 136, 43);
/* oklch */ color: oklch(61.3% 0.113 106.3);
Tailwind
colors: {
  custom: {
    50: '#b1aa6a',
    500: '#8d882b',
    950: '#000000',
  },
}
SCSS
$custom: #8d882b;
$custom-light: #b1aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d882b",
  "rgb": {
    "r": 141,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 56.939,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.11269,
    "h": 106.3
  },
  "luminance": 0.23445
}

Semantic roles & 50–950 ramp

primary
#8D882B
secondary
#5E63B6
accent
#53DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D882B

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

Preview Lab → · Contrast checker → · Palette generator →

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