#8D7F10#8D7F10

#8D7F10 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.119 H 101.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8D7F10
RGBrgb(141, 127, 16)
HSLhsl(53, 80%, 31%)
HSVhsv(53, 89%, 55%)
CMYKcmyk(0%, 9.9%, 88.7%, 44.7%)
CIE-LABlab(52.82, -5.99, 54.84)
CIE-LCHlch(52.82, 55.16, 96.23°)
OKLaboklab(59.12% -0.0233 0.1169)
OKLCHoklch(59.12% 0.119 101.3)
XYZxyz(18.6684, 20.8798, 3.5370)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F10 #101E8D
analogous
#8D4010 #8D7F10 #5C8D10
triadic
#8D7F10 #108D7F #7F108D
tetradic
#8D7F10 #108D40 #101E8D #8D105C
square
#8D7F10 #108D40 #101E8D #8D105C
split-complementary
#8D7F10 #105C8D #40108D
monochromatic
#1F1C04 #564D0A #8D7F10 #C4B116 #E7D330

Accessibility & contrast

On white

4.06
#8D7F10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8D7F10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F10
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F10#FFFFFF#000000##000000
##8D7F101.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#90801B
Tritanopia (blue-blind)
#99756C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f10;
/* rgb */ color: rgb(141, 127, 16);
/* oklch */ color: oklch(59.1% 0.119 101.3);
Tailwind
colors: {
  custom: {
    50: '#b2a35d',
    500: '#8d7f10',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f10;
$custom-light: #b2a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f10",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 53.28,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59123,
    "c": 0.11917,
    "h": 101.3
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#8D7F10
secondary
#3747C2
accent
#48F632
background
#FBFAF5
surface
#F6F3E9
border
#D0CDC5
text
#120F05
muted
#817F79

Preview Lab

Preview with #8D7F10

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

Preview Lab → · Contrast checker → · Palette generator →

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