#8D8710#8D8710

#8D8710 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.126 H 106.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8D8710
RGBrgb(141, 135, 16)
HSLhsl(57, 80%, 31%)
HSVhsv(57, 89%, 55%)
CMYKcmyk(0%, 4.3%, 88.7%, 44.7%)
CIE-LABlab(55.10, -10.36, 56.69)
CIE-LCHlch(55.10, 57.63, 100.36°)
OKLaboklab(60.94% -0.0355 0.121)
OKLCHoklch(60.94% 0.126 106.3)
XYZxyz(19.7429, 23.0288, 3.8952)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8710 #10168D
analogous
#8D4810 #8D8710 #548D10
triadic
#8D8710 #108D87 #87108D
tetradic
#8D8710 #108D48 #10168D #8D1054
square
#8D8710 #108D48 #10168D #8D1054
split-complementary
#8D8710 #10548D #48108D
monochromatic
#1F1E04 #56520A #8D8710 #C4BC16 #E7DF30

Accessibility & contrast

On white

3.75
#8D8710 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8D8710 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8710
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8710#FFFFFF#000000##000000
##8D87101.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#96861D
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8710;
/* rgb */ color: rgb(141, 135, 16);
/* oklch */ color: oklch(60.9% 0.126 106.3);
Tailwind
colors: {
  custom: {
    50: '#b2a95e',
    500: '#8d8710',
    950: '#000000',
  },
}
SCSS
$custom: #8d8710;
$custom-light: #b2a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8710",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 16
  },
  "hsl": {
    "h": 57.12,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.12607,
    "h": 106.3
  },
  "luminance": 0.23028
}

Semantic roles & 50–950 ramp

primary
#8D8710
secondary
#373EC2
accent
#3BF632
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8710

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

Preview Lab → · Contrast checker → · Palette generator →

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