#8D7B28#8D7B28

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

Color values

HEX#8D7B28
RGBrgb(141, 123, 40)
HSLhsl(49, 56%, 35%)
HSVhsv(49, 72%, 55%)
CMYKcmyk(0%, 12.8%, 71.6%, 44.7%)
CIE-LABlab(51.82, -2.81, 45.83)
CIE-LCHlch(51.82, 45.91, 93.50°)
OKLaboklab(58.37% -0.012 0.1024)
OKLCHoklch(58.37% 0.103 96.7)
XYZxyz(18.4514, 19.9828, 4.8922)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B28 #283A8D
analogous
#8D4828 #8D7B28 #6C8D28
triadic
#8D7B28 #288D7B #7B288D
tetradic
#8D7B28 #288D48 #283A8D #8D286C
square
#8D7B28 #288D48 #283A8D #8D286C
split-complementary
#8D7B28 #286C8D #48288D
monochromatic
#2E280D #5D511A #8D7B28 #BDA536 #D1BD5E

Accessibility & contrast

On white

4.20
#8D7B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8D7B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B28
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B28#FFFFFF#000000##000000
##8D7B281.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781C
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#98716A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7b28;
/* rgb */ color: rgb(141, 123, 40);
/* oklch */ color: oklch(58.4% 0.103 96.7);
Tailwind
colors: {
  custom: {
    50: '#b2a067',
    500: '#8d7b28',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b28;
$custom-light: #b2a067;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b28",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 49.307,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58371,
    "c": 0.1031,
    "h": 96.7
  },
  "luminance": 0.19982
}

Semantic roles & 50–950 ramp

primary
#8D7B28
secondary
#5A6BB7
accent
#63DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7B28

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

Preview Lab → · Contrast checker → · Palette generator →

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