#8D7E2A#8D7E2A

#8D7E2A is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.104 H 99.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D7E2A
RGBrgb(141, 126, 42)
HSLhsl(51, 54%, 36%)
HSVhsv(51, 70%, 55%)
CMYKcmyk(0%, 10.6%, 70.2%, 44.7%)
CIE-LABlab(52.68, -4.37, 45.84)
CIE-LCHlch(52.68, 46.05, 95.44°)
OKLaboklab(59.06% -0.0163 0.1028)
OKLCHoklch(59.06% 0.104 99)
XYZxyz(18.8641, 20.7525, 5.2020)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E2A #2A398D
analogous
#8D4C2A #8D7E2A #6A8D2A
triadic
#8D7E2A #2A8D7E #7E2A8D
tetradic
#8D7E2A #2A8D4C #2A398D #8D2A6A
square
#8D7E2A #2A8D4C #2A398D #8D2A6A
split-complementary
#8D7E2A #2A6A8D #4C2A8D
monochromatic
#2F2A0E #5E541C #8D7E2A #BCA838 #D0BF61

Accessibility & contrast

On white

4.08
#8D7E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8D7E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E2A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E2A#FFFFFF#000000##000000
##8D7E2A1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1E
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7e2a;
/* rgb */ color: rgb(141, 126, 42);
/* oklch */ color: oklch(59.1% 0.104 99.0);
Tailwind
colors: {
  custom: {
    50: '#b1a369',
    500: '#8d7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e2a;
$custom-light: #b1a369;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e2a",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 50.909,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59057,
    "c": 0.10406,
    "h": 99
  },
  "luminance": 0.20752
}

Semantic roles & 50–950 ramp

primary
#8D7E2A
secondary
#5D6AB6
accent
#61DD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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