#8D7B1E#8D7B1E

#8D7B1E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.3% C 0.110 H 97.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D7B1E
RGBrgb(141, 123, 30)
HSLhsl(50, 65%, 34%)
HSVhsv(50, 79%, 55%)
CMYKcmyk(0%, 12.8%, 78.7%, 44.7%)
CIE-LABlab(51.75, -3.29, 49.72)
CIE-LCHlch(51.75, 49.83, 93.79°)
OKLaboklab(58.3% -0.0145 0.1087)
OKLCHoklch(58.3% 0.11 97.6)
XYZxyz(18.3028, 19.9233, 4.1096)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B1E #1E308D
analogous
#8D431E #8D7B1E #678D1E
triadic
#8D7B1E #1E8D7B #7B1E8D
tetradic
#8D7B1E #1E8D43 #1E308D #8D1E67
square
#8D7B1E #1E8D43 #1E308D #8D1E67
split-complementary
#8D7B1E #1E678D #431E8D
monochromatic
#282309 #5B4F13 #8D7B1E #BFA729 #D9C24C

Accessibility & contrast

On white

4.21
#8D7B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8D7B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B1E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B1E#FFFFFF#000000##000000
##8D7B1E1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#997169
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7b1e;
/* rgb */ color: rgb(141, 123, 30);
/* oklch */ color: oklch(58.3% 0.110 97.6);
Tailwind
colors: {
  custom: {
    50: '#b2a062',
    500: '#8d7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b1e;
$custom-light: #b2a062;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b1e",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 50.27,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.10962,
    "h": 97.6
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#8D7B1E
secondary
#4B5DBC
accent
#5BE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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