#8D7B1B#8D7B1B

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

Color values

HEX#8D7B1B
RGBrgb(141, 123, 27)
HSLhsl(51, 68%, 33%)
HSVhsv(51, 81%, 55%)
CMYKcmyk(0%, 12.8%, 80.9%, 44.7%)
CIE-LABlab(51.73, -3.42, 50.76)
CIE-LCHlch(51.73, 50.87, 93.85°)
OKLaboklab(58.28% -0.0152 0.1102)
OKLCHoklch(58.28% 0.111 97.8)
XYZxyz(18.2663, 19.9087, 3.9173)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B1B #1B2D8D
analogous
#8D421B #8D7B1B #668D1B
triadic
#8D7B1B #1B8D7B #7B1B8D
tetradic
#8D7B1B #1B8D42 #1B2D8D #8D1B66
square
#8D7B1B #1B8D42 #1B2D8D #8D1B66
split-complementary
#8D7B1B #1B668D #421B8D
monochromatic
#262107 #5A4E11 #8D7B1B #C0A825 #DCC447

Accessibility & contrast

On white

4.22
#8D7B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7B1B#FFFFFF#000000##000000
##8D7B1B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#997169
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7b1b;
/* rgb */ color: rgb(141, 123, 27);
/* oklch */ color: oklch(58.3% 0.111 97.8);
Tailwind
colors: {
  custom: {
    50: '#b2a060',
    500: '#8d7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b1b;
$custom-light: #b2a060;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b1b",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 50.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.11127,
    "h": 97.8
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#8D7B1B
secondary
#4659BD
accent
#58EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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