#8D7D10#8D7D10

#8D7D10 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.118 H 99.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8D7D10
RGBrgb(141, 125, 16)
HSLhsl(52, 80%, 31%)
HSVhsv(52, 89%, 55%)
CMYKcmyk(0%, 11.3%, 88.7%, 44.7%)
CIE-LABlab(52.25, -4.88, 54.38)
CIE-LCHlch(52.25, 54.59, 95.12°)
OKLaboklab(58.67% -0.0202 0.1159)
OKLCHoklch(58.67% 0.118 99.9)
XYZxyz(18.4126, 20.3683, 3.4517)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D10 #10208D
analogous
#8D3E10 #8D7D10 #5E8D10
triadic
#8D7D10 #108D7D #7D108D
tetradic
#8D7D10 #108D3E #10208D #8D105E
square
#8D7D10 #108D3E #10208D #8D105E
split-complementary
#8D7D10 #105E8D #3E108D
monochromatic
#1F1C04 #564C0A #8D7D10 #C4AE16 #E7D030

Accessibility & contrast

On white

4.14
#8D7D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8D7D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D10
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D10#FFFFFF#000000##000000
##8D7D101.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8F7F1B
Tritanopia (blue-blind)
#99736A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d10;
/* rgb */ color: rgb(141, 125, 16);
/* oklch */ color: oklch(58.7% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#b2a25d',
    500: '#8d7d10',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d10;
$custom-light: #b2a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d10",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 16
  },
  "hsl": {
    "h": 52.32,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58673,
    "c": 0.1176,
    "h": 99.9
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#8D7D10
secondary
#3749C2
accent
#4BF632
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120F05
muted
#817E79

Preview Lab

Preview with #8D7D10

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

Preview Lab → · Contrast checker → · Palette generator →

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