#8D8510#8D8510

#8D8510 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.124 H 105.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8D8510
RGBrgb(141, 133, 16)
HSLhsl(56, 80%, 31%)
HSVhsv(56, 89%, 55%)
CMYKcmyk(0%, 5.7%, 88.7%, 44.7%)
CIE-LABlab(54.53, -9.28, 56.22)
CIE-LCHlch(54.53, 56.98, 99.37°)
OKLaboklab(60.48% -0.0325 0.1199)
OKLCHoklch(60.48% 0.124 105.1)
XYZxyz(19.4665, 22.4760, 3.8030)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8510 #10188D
analogous
#8D4610 #8D8510 #568D10
triadic
#8D8510 #108D85 #85108D
tetradic
#8D8510 #108D46 #10188D #8D1056
square
#8D8510 #108D46 #10188D #8D1056
split-complementary
#8D8510 #10568D #46108D
monochromatic
#1F1D04 #56510A #8D8510 #C4B916 #E7DC30

Accessibility & contrast

On white

3.82
#8D8510 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8D8510 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8510
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8510#FFFFFF#000000##000000
##8D85101.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#95841C
Tritanopia (blue-blind)
#987B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8510;
/* rgb */ color: rgb(141, 133, 16);
/* oklch */ color: oklch(60.5% 0.124 105.1);
Tailwind
colors: {
  custom: {
    50: '#b2a85e',
    500: '#8d8510',
    950: '#000000',
  },
}
SCSS
$custom: #8d8510;
$custom-light: #b2a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8510",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 16
  },
  "hsl": {
    "h": 56.16,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60484,
    "c": 0.12426,
    "h": 105.1
  },
  "luminance": 0.22475
}

Semantic roles & 50–950 ramp

primary
#8D8510
secondary
#3740C2
accent
#3EF632
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8510

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

Preview Lab → · Contrast checker → · Palette generator →

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