#8D7B2F#8D7B2F

#8D7B2F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.4% C 0.098 H 95.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8D7B2F
RGBrgb(141, 123, 47)
HSLhsl(49, 50%, 37%)
HSVhsv(49, 67%, 55%)
CMYKcmyk(0%, 12.8%, 66.7%, 44.7%)
CIE-LABlab(51.88, -2.38, 42.75)
CIE-LCHlch(51.88, 42.82, 93.19°)
OKLaboklab(58.44% -0.01 0.0971)
OKLCHoklch(58.44% 0.098 95.9)
XYZxyz(18.5814, 20.0348, 5.5771)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B2F #2F418D
analogous
#8D4C2F #8D7B2F #708D2F
triadic
#8D7B2F #2F8D7B #7B2F8D
tetradic
#8D7B2F #2F8D4C #2F418D #8D2F70
square
#8D7B2F #2F8D4C #2F418D #8D2F70
split-complementary
#8D7B2F #2F708D #4C2F8D
monochromatic
#312B10 #5F5320 #8D7B2F #BBA33E #CDBA69

Accessibility & contrast

On white

4.19
#8D7B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8D7B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B2F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B2F#FFFFFF#000000##000000
##8D7B2F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#98726B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7b2f;
/* rgb */ color: rgb(141, 123, 47);
/* oklch */ color: oklch(58.4% 0.098 95.9);
Tailwind
colors: {
  custom: {
    50: '#b1a06b',
    500: '#8d7b2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b2f;
$custom-light: #b1a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b2f",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 48.511,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58436,
    "c": 0.09763,
    "h": 95.9
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#8D7B2F
secondary
#6473B4
accent
#69DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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