#8D7A23#8D7A23

#8D7A23 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.106 H 96.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D7A23
RGBrgb(141, 122, 35)
HSLhsl(49, 60%, 35%)
HSVhsv(49, 75%, 55%)
CMYKcmyk(0%, 13.5%, 75.2%, 44.7%)
CIE-LABlab(51.50, -2.51, 47.58)
CIE-LCHlch(51.50, 47.65, 93.02°)
OKLaboklab(58.11% -0.0118 0.1051)
OKLCHoklch(58.11% 0.106 96.4)
XYZxyz(18.2483, 19.7041, 4.4319)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A23 #23368D
analogous
#8D4523 #8D7A23 #6B8D23
triadic
#8D7A23 #238D7A #7A238D
tetradic
#8D7A23 #238D45 #23368D #8D236B
square
#8D7A23 #238D45 #23368D #8D236B
split-complementary
#8D7A23 #236B8D #45238D
monochromatic
#2B250B #5C5017 #8D7A23 #BEA42F #D5BE55

Accessibility & contrast

On white

4.25
#8D7A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8D7A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A23
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A23#FFFFFF#000000##000000
##8D7A231.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877715
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#997069
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a23;
/* rgb */ color: rgb(141, 122, 35);
/* oklch */ color: oklch(58.1% 0.106 96.4);
Tailwind
colors: {
  custom: {
    50: '#b2a064',
    500: '#8d7a23',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a23;
$custom-light: #b2a064;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a23",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 49.245,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.10579,
    "h": 96.4
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#8D7A23
secondary
#5365B9
accent
#61E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7A23

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

Preview Lab → · Contrast checker → · Palette generator →

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