#8D8310#8D8310

#8D8310 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.123 H 103.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8D8310
RGBrgb(141, 131, 16)
HSLhsl(55, 80%, 31%)
HSVhsv(55, 89%, 55%)
CMYKcmyk(0%, 7.1%, 88.7%, 44.7%)
CIE-LABlab(53.96, -8.18, 55.76)
CIE-LCHlch(53.96, 56.36, 98.35°)
OKLaboklab(60.03% -0.0294 0.1189)
OKLCHoklch(60.03% 0.123 103.9)
XYZxyz(19.1953, 21.9336, 3.7126)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8310 #101A8D
analogous
#8D4410 #8D8310 #588D10
triadic
#8D8310 #108D83 #83108D
tetradic
#8D8310 #108D44 #101A8D #8D1058
square
#8D8310 #108D44 #101A8D #8D1058
split-complementary
#8D8310 #10588D #44108D
monochromatic
#1F1D04 #56500A #8D8310 #C4B616 #E7D930

Accessibility & contrast

On white

3.90
#8D8310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8D8310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8310
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8310#FFFFFF#000000##000000
##8D83101.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#93831C
Tritanopia (blue-blind)
#98796F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8310;
/* rgb */ color: rgb(141, 131, 16);
/* oklch */ color: oklch(60.0% 0.123 103.9);
Tailwind
colors: {
  custom: {
    50: '#b2a65d',
    500: '#8d8310',
    950: '#000000',
  },
}
SCSS
$custom: #8d8310;
$custom-light: #b2a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8310",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 55.2,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.12251,
    "h": 103.9
  },
  "luminance": 0.21933
}

Semantic roles & 50–950 ramp

primary
#8D8310
secondary
#3742C2
accent
#41F632
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8310

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

Preview Lab → · Contrast checker → · Palette generator →

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