#8D8733#8D8733

#8D8733 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.2% C 0.105 H 105.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8D8733
RGBrgb(141, 135, 51)
HSLhsl(56, 47%, 38%)
HSVhsv(56, 64%, 55%)
CMYKcmyk(0%, 4.3%, 63.8%, 44.7%)
CIE-LABlab(55.31, -8.75, 44.59)
CIE-LCHlch(55.31, 45.44, 101.11°)
OKLaboklab(61.17% -0.0276 0.1016)
OKLCHoklch(61.17% 0.105 105.2)
XYZxyz(20.2467, 23.2304, 6.5487)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8733 #33398D
analogous
#8D5A33 #8D8733 #668D33
triadic
#8D8733 #338D87 #87338D
tetradic
#8D8733 #338D5A #33398D #8D3366
square
#8D8733 #338D5A #33398D #8D3366
split-complementary
#8D8733 #33668D #5A338D
monochromatic
#333112 #605C23 #8D8733 #BAB243 #CBC56F

Accessibility & contrast

On white

3.72
#8D8733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8D8733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8733
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8733#FFFFFF#000000##000000
##8D87331.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928229
Deuteranopia (green-blind)
#958638
Tritanopia (blue-blind)
#977E75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8733;
/* rgb */ color: rgb(141, 135, 51);
/* oklch */ color: oklch(61.2% 0.105 105.2);
Tailwind
colors: {
  custom: {
    50: '#b1a96f',
    500: '#8d8733',
    950: '#000000',
  },
}
SCSS
$custom: #8d8733;
$custom-light: #b1a96f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8733",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 51
  },
  "hsl": {
    "h": 56,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.10533,
    "h": 105.2
  },
  "luminance": 0.2323
}

Semantic roles & 50–950 ramp

primary
#8D8733
secondary
#696EB3
accent
#5AD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8733

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

Preview Lab → · Contrast checker → · Palette generator →

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