#8D8816#8D8816

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

Color values

HEX#8D8816
RGBrgb(141, 136, 22)
HSLhsl(57, 73%, 32%)
HSVhsv(57, 84%, 55%)
CMYKcmyk(0%, 3.5%, 84.4%, 44.7%)
CIE-LABlab(55.41, -10.73, 55.48)
CIE-LCHlch(55.41, 56.51, 100.95°)
OKLaboklab(61.19% -0.0361 0.1194)
OKLCHoklch(61.19% 0.125 106.8)
XYZxyz(19.9343, 23.3297, 4.2119)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8816 #161B8D
analogous
#8D4D16 #8D8816 #578D16
triadic
#8D8816 #168D88 #88168D
tetradic
#8D8816 #168D4D #161B8D #8D1657
square
#8D8816 #168D4D #161B8D #8D1657
split-complementary
#8D8816 #16578D #4D168D
monochromatic
#232205 #58550E #8D8816 #C2BB1E #E1DA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8816#FFFFFF#000000##000000
##8D88161.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8816;
/* rgb */ color: rgb(141, 136, 22);
/* oklch */ color: oklch(61.2% 0.125 106.8);
Tailwind
colors: {
  custom: {
    50: '#b2aa60',
    500: '#8d8816',
    950: '#000000',
  },
}
SCSS
$custom: #8d8816;
$custom-light: #b2aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8816",
  "rgb": {
    "r": 141,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 57.479,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61194,
    "c": 0.12477,
    "h": 106.8
  },
  "luminance": 0.23329
}

Semantic roles & 50–950 ramp

primary
#8D8816
secondary
#3E44C1
accent
#40F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8816

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

Preview Lab → · Contrast checker → · Palette generator →

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