#8D8810#8D8810

#8D8810 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.127 H 106.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D8810
RGBrgb(141, 136, 16)
HSLhsl(58, 80%, 31%)
HSVhsv(58, 89%, 55%)
CMYKcmyk(0%, 3.5%, 88.7%, 44.7%)
CIE-LABlab(55.39, -10.90, 56.92)
CIE-LCHlch(55.39, 57.96, 100.84°)
OKLaboklab(61.17% -0.037 0.1215)
OKLCHoklch(61.17% 0.127 106.9)
XYZxyz(19.8831, 23.3092, 3.9419)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8810 #10158D
analogous
#8D4910 #8D8810 #538D10
triadic
#8D8810 #108D88 #88108D
tetradic
#8D8810 #108D49 #10158D #8D1053
square
#8D8810 #108D49 #10158D #8D1053
split-complementary
#8D8810 #10538D #49108D
monochromatic
#1F1E04 #56530A #8D8810 #C4BD16 #E7E030

Accessibility & contrast

On white

3.71
#8D8810 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8D8810 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8810
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8810#FFFFFF#000000##000000
##8D88101.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958200
Deuteranopia (green-blind)
#97871D
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8810;
/* rgb */ color: rgb(141, 136, 16);
/* oklch */ color: oklch(61.2% 0.127 106.9);
Tailwind
colors: {
  custom: {
    50: '#b2aa5e',
    500: '#8d8810',
    950: '#000000',
  },
}
SCSS
$custom: #8d8810;
$custom-light: #b2aa5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8810",
  "rgb": {
    "r": 141,
    "g": 136,
    "b": 16
  },
  "hsl": {
    "h": 57.6,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.12699,
    "h": 106.9
  },
  "luminance": 0.23308
}

Semantic roles & 50–950 ramp

primary
#8D8810
secondary
#373DC2
accent
#3AF632
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#111005
muted
#807F79

Preview Lab

Preview with #8D8810

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

Preview Lab → · Contrast checker → · Palette generator →

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