#8D7E2B#8D7E2B

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

Color values

HEX#8D7E2B
RGBrgb(141, 126, 43)
HSLhsl(51, 53%, 36%)
HSVhsv(51, 70%, 55%)
CMYKcmyk(0%, 10.6%, 69.5%, 44.7%)
CIE-LABlab(52.69, -4.31, 45.41)
CIE-LCHlch(52.69, 45.61, 95.42°)
OKLaboklab(59.07% -0.016 0.1021)
OKLCHoklch(59.07% 0.103 98.9)
XYZxyz(18.8823, 20.7597, 5.2975)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E2B #2B3A8D
analogous
#8D4D2B #8D7E2B #6B8D2B
triadic
#8D7E2B #2B8D7E #7E2B8D
tetradic
#8D7E2B #2B8D4D #2B3A8D #8D2B6B
square
#8D7E2B #2B8D4D #2B3A8D #8D2B6B
split-complementary
#8D7E2B #2B6B8D #4D2B8D
monochromatic
#2F2A0E #5E541D #8D7E2B #BCA839 #CFBF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7E2B#FFFFFF#000000##000000
##8D7E2B1.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)
#8A7B20
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7e2b;
/* rgb */ color: rgb(141, 126, 43);
/* oklch */ color: oklch(59.1% 0.103 98.9);
Tailwind
colors: {
  custom: {
    50: '#b1a369',
    500: '#8d7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e2b;
$custom-light: #b1a369;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e2b",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 50.816,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59066,
    "c": 0.1033,
    "h": 98.9
  },
  "luminance": 0.20759
}

Semantic roles & 50–950 ramp

primary
#8D7E2B
secondary
#5E6CB6
accent
#61DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8D7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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