#8D7C23#8D7C23

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

Color values

HEX#8D7C23
RGBrgb(141, 124, 35)
HSLhsl(50, 60%, 35%)
HSVhsv(50, 75%, 55%)
CMYKcmyk(0%, 12.1%, 75.2%, 44.7%)
CIE-LABlab(52.06, -3.63, 48.13)
CIE-LCHlch(52.06, 48.26, 94.31°)
OKLaboklab(58.55% -0.015 0.1063)
OKLCHoklch(58.55% 0.107 98)
XYZxyz(18.4964, 20.2003, 4.5146)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C23 #23348D
analogous
#8D4723 #8D7C23 #698D23
triadic
#8D7C23 #238D7C #7C238D
tetradic
#8D7C23 #238D47 #23348D #8D2369
square
#8D7C23 #238D47 #23348D #8D2369
split-complementary
#8D7C23 #23698D #47238D
monochromatic
#2B260B #5C5117 #8D7C23 #BEA72F #D5C055

Accessibility & contrast

On white

4.17
#8D7C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8D7C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C23
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C23#FFFFFF#000000##000000
##8D7C231.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897914
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#98726B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c23;
/* rgb */ color: rgb(141, 124, 35);
/* oklch */ color: oklch(58.6% 0.107 98.0);
Tailwind
colors: {
  custom: {
    50: '#b2a165',
    500: '#8d7c23',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c23;
$custom-light: #b2a165;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c23",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 50.377,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.10733,
    "h": 98
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#8D7C23
secondary
#5363B9
accent
#5EE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7C23

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

Preview Lab → · Contrast checker → · Palette generator →

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