#8D8010#8D8010

#8D8010 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.120 H 101.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8D8010
RGBrgb(141, 128, 16)
HSLhsl(54, 80%, 31%)
HSVhsv(54, 89%, 55%)
CMYKcmyk(0%, 9.2%, 88.7%, 44.7%)
CIE-LABlab(53.10, -6.54, 55.07)
CIE-LCHlch(53.10, 55.45, 96.77°)
OKLaboklab(59.35% -0.0248 0.1174)
OKLCHoklch(59.35% 0.12 101.9)
XYZxyz(18.7982, 21.1394, 3.5803)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8010 #101D8D
analogous
#8D4110 #8D8010 #5B8D10
triadic
#8D8010 #108D80 #80108D
tetradic
#8D8010 #108D41 #101D8D #8D105B
square
#8D8010 #108D41 #101D8D #8D105B
split-complementary
#8D8010 #105B8D #41108D
monochromatic
#1F1C04 #564E0A #8D8010 #C4B216 #E7D430

Accessibility & contrast

On white

4.02
#8D8010 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8D8010 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8010
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8010#FFFFFF#000000##000000
##8D80101.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#91811B
Tritanopia (blue-blind)
#99766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8010;
/* rgb */ color: rgb(141, 128, 16);
/* oklch */ color: oklch(59.3% 0.120 101.9);
Tailwind
colors: {
  custom: {
    50: '#b2a45d',
    500: '#8d8010',
    950: '#000000',
  },
}
SCSS
$custom: #8d8010;
$custom-light: #b2a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8010",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 16
  },
  "hsl": {
    "h": 53.76,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.11998,
    "h": 101.9
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#8D8010
secondary
#3745C2
accent
#46F632
background
#FBFAF5
surface
#F6F3E9
border
#D0CDC5
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8010

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

Preview Lab → · Contrast checker → · Palette generator →

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