#8D7A10#8D7A10

#8D7A10 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.115 H 97.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8D7A10
RGBrgb(141, 122, 16)
HSLhsl(51, 80%, 31%)
HSVhsv(51, 89%, 55%)
CMYKcmyk(0%, 13.5%, 88.7%, 44.7%)
CIE-LABlab(51.41, -3.20, 53.69)
CIE-LCHlch(51.41, 53.78, 93.41°)
OKLaboklab(58% -0.0155 0.1143)
OKLCHoklch(58% 0.115 97.7)
XYZxyz(18.0386, 19.6202, 3.3271)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A10 #10238D
analogous
#8D3B10 #8D7A10 #618D10
triadic
#8D7A10 #108D7A #7A108D
tetradic
#8D7A10 #108D3B #10238D #8D1061
square
#8D7A10 #108D3B #10238D #8D1061
split-complementary
#8D7A10 #10618D #3B108D
monochromatic
#1F1B04 #564A0A #8D7A10 #C4AA16 #E7CC30

Accessibility & contrast

On white

4.26
#8D7A10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8D7A10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A10
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A10#FFFFFF#000000##000000
##8D7A101.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8C7D1A
Tritanopia (blue-blind)
#997068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7a10;
/* rgb */ color: rgb(141, 122, 16);
/* oklch */ color: oklch(58.0% 0.115 97.7);
Tailwind
colors: {
  custom: {
    50: '#b3a05c',
    500: '#8d7a10',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a10;
$custom-light: #b3a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a10",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 16
  },
  "hsl": {
    "h": 50.88,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.11537,
    "h": 97.7
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#8D7A10
secondary
#374CC2
accent
#50F632
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7A10

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

Preview Lab → · Contrast checker → · Palette generator →

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