#8B7E23#8B7E23

#8B7E23 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.109 H 100.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8B7E23
RGBrgb(139, 126, 35)
HSLhsl(53, 60%, 34%)
HSVhsv(53, 75%, 55%)
CMYKcmyk(0%, 9.4%, 74.8%, 45.5%)
CIE-LABlab(52.43, -5.67, 48.42)
CIE-LCHlch(52.43, 48.75, 96.68°)
OKLaboklab(58.8% -0.0206 0.107)
OKLCHoklch(58.8% 0.109 100.9)
XYZxyz(18.4125, 20.5329, 4.5832)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E23 #23308B
analogous
#8B4A23 #8B7E23 #648B23
triadic
#8B7E23 #238B7E #7E238B
tetradic
#8B7E23 #238B4A #23308B #8B2364
square
#8B7E23 #238B4A #23308B #8B2364
split-complementary
#8B7E23 #23648B #4A238B
monochromatic
#29250A #5A5217 #8B7E23 #BCAA2F #D4C454

Accessibility & contrast

On white

4.11
#8B7E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8B7E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E23
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E23#FFFFFF#000000##000000
##8B7E231.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#96756C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e23;
/* rgb */ color: rgb(139, 126, 35);
/* oklch */ color: oklch(58.8% 0.109 100.9);
Tailwind
colors: {
  custom: {
    50: '#b0a365',
    500: '#8b7e23',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e23;
$custom-light: #b0a365;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e23",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 52.5,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58803,
    "c": 0.10895,
    "h": 100.9
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

primary
#8B7E23
secondary
#525FB8
accent
#59E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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