#8D7C10#8D7C10

#8D7C10 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.117 H 99.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8D7C10
RGBrgb(141, 124, 16)
HSLhsl(52, 80%, 31%)
HSVhsv(52, 89%, 55%)
CMYKcmyk(0%, 12.1%, 88.7%, 44.7%)
CIE-LABlab(51.97, -4.32, 54.15)
CIE-LCHlch(51.97, 54.32, 94.56°)
OKLaboklab(58.45% -0.0186 0.1153)
OKLCHoklch(58.45% 0.117 99.2)
XYZxyz(18.2867, 20.1164, 3.4098)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C10 #10218D
analogous
#8D3D10 #8D7C10 #5F8D10
triadic
#8D7C10 #108D7C #7C108D
tetradic
#8D7C10 #108D3D #10218D #8D105F
square
#8D7C10 #108D3D #10218D #8D105F
split-complementary
#8D7C10 #105F8D #3D108D
monochromatic
#1F1B04 #564C0A #8D7C10 #C4AC16 #E7CF30

Accessibility & contrast

On white

4.18
#8D7C10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8D7C10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C10
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C10#FFFFFF#000000##000000
##8D7C101.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8E7E1A
Tritanopia (blue-blind)
#997269
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c10;
/* rgb */ color: rgb(141, 124, 16);
/* oklch */ color: oklch(58.4% 0.117 99.2);
Tailwind
colors: {
  custom: {
    50: '#b3a15c',
    500: '#8d7c10',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c10;
$custom-light: #b3a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c10",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 16
  },
  "hsl": {
    "h": 51.84,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.11683,
    "h": 99.2
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#8D7C10
secondary
#374AC2
accent
#4CF632
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7C10

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

Preview Lab → · Contrast checker → · Palette generator →

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