#8D7C28#8D7C28

#8D7C28 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.104 H 97.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8D7C28
RGBrgb(141, 124, 40)
HSLhsl(50, 56%, 35%)
HSVhsv(50, 72%, 55%)
CMYKcmyk(0%, 12.1%, 71.6%, 44.7%)
CIE-LABlab(52.10, -3.37, 46.11)
CIE-LCHlch(52.10, 46.23, 94.18°)
OKLaboklab(58.59% -0.0136 0.103)
OKLCHoklch(58.59% 0.104 97.5)
XYZxyz(18.5760, 20.2321, 4.9338)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C28 #28398D
analogous
#8D4928 #8D7C28 #6B8D28
triadic
#8D7C28 #288D7C #7C288D
tetradic
#8D7C28 #288D49 #28398D #8D286B
square
#8D7C28 #288D49 #28398D #8D286B
split-complementary
#8D7C28 #286B8D #49288D
monochromatic
#2E280D #5D521A #8D7C28 #BDA636 #D1BE5E

Accessibility & contrast

On white

4.16
#8D7C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8D7C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C28
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C28#FFFFFF#000000##000000
##8D7C281.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791C
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#98736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c28;
/* rgb */ color: rgb(141, 124, 40);
/* oklch */ color: oklch(58.6% 0.104 97.5);
Tailwind
colors: {
  custom: {
    50: '#b2a167',
    500: '#8d7c28',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c28;
$custom-light: #b2a167;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c28",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 49.901,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58594,
    "c": 0.10389,
    "h": 97.5
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#8D7C28
secondary
#5A6AB7
accent
#62DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7C28

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

Preview Lab → · Contrast checker → · Palette generator →

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