#8C7828#8C7828

#8C7828 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.101 H 94.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8C7828
RGBrgb(140, 120, 40)
HSLhsl(48, 56%, 35%)
HSVhsv(48, 71%, 55%)
CMYKcmyk(0%, 14.3%, 71.4%, 45.1%)
CIE-LABlab(50.88, -1.58, 44.84)
CIE-LCHlch(50.88, 44.87, 92.02°)
OKLaboklab(57.6% -0.0085 0.1003)
OKLCHoklch(57.6% 0.101 94.8)
XYZxyz(17.9156, 19.1626, 4.7622)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C7828 #283C8C
analogous
#8C4628 #8C7828 #6E8C28
triadic
#8C7828 #288C78 #78288C
tetradic
#8C7828 #288C46 #283C8C #8C286E
square
#8C7828 #288C46 #283C8C #8C286E
split-complementary
#8C7828 #286E8C #46288C
monochromatic
#2D260D #5C4F1A #8C7828 #BCA136 #D1BA5E

Accessibility & contrast

On white

4.35
#8C7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8C7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C7828
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C7828#FFFFFF#000000##000000
##8C78281.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#976E68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8c7828;
/* rgb */ color: rgb(140, 120, 40);
/* oklch */ color: oklch(57.6% 0.101 94.8);
Tailwind
colors: {
  custom: {
    50: '#b19e67',
    500: '#8c7828',
    950: '#000000',
  },
}
SCSS
$custom: #8c7828;
$custom-light: #b19e67;
$custom-dark: #000000;
JSON
{
  "hex": "#8c7828",
  "rgb": {
    "r": 140,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 48,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.1007,
    "h": 94.8
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#8C7828
secondary
#5A6CB6
accent
#67DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8C7828

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

Preview Lab → · Contrast checker → · Palette generator →

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