#8D7825#8D7825

#8D7825 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.103 H 94.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D7825
RGBrgb(141, 120, 37)
HSLhsl(48, 58%, 35%)
HSVhsv(48, 74%, 55%)
CMYKcmyk(0%, 14.9%, 73.8%, 44.7%)
CIE-LABlab(50.96, -1.28, 46.23)
CIE-LCHlch(50.96, 46.25, 91.58°)
OKLaboklab(57.68% -0.008 0.1027)
OKLCHoklch(57.68% 0.103 94.5)
XYZxyz(18.0358, 19.2302, 4.5117)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7825 #253A8D
analogous
#8D4425 #8D7825 #6E8D25
triadic
#8D7825 #258D78 #78258D
tetradic
#8D7825 #258D44 #253A8D #8D256E
square
#8D7825 #258D44 #253A8D #8D256E
split-complementary
#8D7825 #256E8D #44258D
monochromatic
#2C250C #5D4F18 #8D7825 #BDA132 #D3BB59

Accessibility & contrast

On white

4.33
#8D7825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8D7825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7825
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7825#FFFFFF#000000##000000
##8D78251.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857618
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#996E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7825;
/* rgb */ color: rgb(141, 120, 37);
/* oklch */ color: oklch(57.7% 0.103 94.5);
Tailwind
colors: {
  custom: {
    50: '#b29e65',
    500: '#8d7825',
    950: '#000000',
  },
}
SCSS
$custom: #8d7825;
$custom-light: #b29e65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7825",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 37
  },
  "hsl": {
    "h": 47.885,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.10298,
    "h": 94.5
  },
  "luminance": 0.19229
}

Semantic roles & 50–950 ramp

primary
#8D7825
secondary
#566AB8
accent
#66E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7825

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

Preview Lab → · Contrast checker → · Palette generator →

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