#8D7823#8D7823

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

Color values

HEX#8D7823
RGBrgb(141, 120, 35)
HSLhsl(48, 60%, 35%)
HSVhsv(48, 75%, 55%)
CMYKcmyk(0%, 14.9%, 75.2%, 44.7%)
CIE-LABlab(50.94, -1.38, 47.04)
CIE-LCHlch(50.94, 47.06, 91.68°)
OKLaboklab(57.67% -0.0086 0.104)
OKLCHoklch(57.67% 0.104 94.7)
XYZxyz(18.0053, 19.2180, 4.3509)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7823 #23388D
analogous
#8D4323 #8D7823 #6D8D23
triadic
#8D7823 #238D78 #78238D
tetradic
#8D7823 #238D43 #23388D #8D236D
square
#8D7823 #238D43 #23388D #8D236D
split-complementary
#8D7823 #236D8D #43238D
monochromatic
#2B250B #5C4E17 #8D7823 #BEA22F #D5BC55

Accessibility & contrast

On white

4.34
#8D7823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8D7823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7823
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7823#FFFFFF#000000##000000
##8D78231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d7823;
/* rgb */ color: rgb(141, 120, 35);
/* oklch */ color: oklch(57.7% 0.104 94.7);
Tailwind
colors: {
  custom: {
    50: '#b29e64',
    500: '#8d7823',
    950: '#000000',
  },
}
SCSS
$custom: #8d7823;
$custom-light: #b29e64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7823",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 48.113,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.10433,
    "h": 94.7
  },
  "luminance": 0.19217
}

Semantic roles & 50–950 ramp

primary
#8D7823
secondary
#5367B9
accent
#64E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7823

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

Preview Lab → · Contrast checker → · Palette generator →

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