#8D7F23#8D7F23

#8D7F23 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.110 H 100.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8D7F23
RGBrgb(141, 127, 35)
HSLhsl(52, 60%, 35%)
HSVhsv(52, 75%, 55%)
CMYKcmyk(0%, 9.9%, 75.2%, 44.7%)
CIE-LABlab(52.91, -5.30, 48.94)
CIE-LCHlch(52.91, 49.23, 96.18°)
OKLaboklab(59.23% -0.0197 0.108)
OKLCHoklch(59.23% 0.11 100.3)
XYZxyz(18.8781, 20.9637, 4.6418)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F23 #23318D
analogous
#8D4A23 #8D7F23 #668D23
triadic
#8D7F23 #238D7F #7F238D
tetradic
#8D7F23 #238D4A #23318D #8D2366
square
#8D7F23 #238D4A #23318D #8D2366
split-complementary
#8D7F23 #23668D #4A238D
monochromatic
#2B270B #5C5317 #8D7F23 #BEAB2F #D5C455

Accessibility & contrast

On white

4.04
#8D7F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8D7F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F23
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F23#FFFFFF#000000##000000
##8D7F231.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B13
Deuteranopia (green-blind)
#8F8129
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f23;
/* rgb */ color: rgb(141, 127, 35);
/* oklch */ color: oklch(59.2% 0.110 100.3);
Tailwind
colors: {
  custom: {
    50: '#b2a365',
    500: '#8d7f23',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f23;
$custom-light: #b2a365;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f23",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 52.075,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.10979,
    "h": 100.3
  },
  "luminance": 0.20963
}

Semantic roles & 50–950 ramp

primary
#8D7F23
secondary
#5360B9
accent
#59E344
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D7F23

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

Preview Lab → · Contrast checker → · Palette generator →

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