#8B8723#8B8723

#8B8723 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.117 H 107.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8B8723
RGBrgb(139, 135, 35)
HSLhsl(58, 60%, 34%)
HSVhsv(58, 75%, 55%)
CMYKcmyk(0%, 2.9%, 74.8%, 45.5%)
CIE-LABlab(55.01, -10.60, 50.89)
CIE-LCHlch(55.01, 51.98, 101.76°)
OKLaboklab(60.85% -0.0345 0.1122)
OKLCHoklch(60.85% 0.117 107.1)
XYZxyz(19.6156, 22.9389, 4.9842)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8723 #23278B
analogous
#8B5323 #8B8723 #5B8B23
triadic
#8B8723 #238B87 #87238B
tetradic
#8B8723 #238B53 #23278B #8B235B
square
#8B8723 #238B53 #23278B #8B235B
split-complementary
#8B8723 #235B8B #53238B
monochromatic
#29280A #5A5817 #8B8723 #BCB62F #D4CF54

Accessibility & contrast

On white

3.76
#8B8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8B8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8723
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8723#FFFFFF#000000##000000
##8B87231.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938210
Deuteranopia (green-blind)
#95852A
Tritanopia (blue-blind)
#957E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8723;
/* rgb */ color: rgb(139, 135, 35);
/* oklch */ color: oklch(60.9% 0.117 107.1);
Tailwind
colors: {
  custom: {
    50: '#b0a966',
    500: '#8b8723',
    950: '#000000',
  },
}
SCSS
$custom: #8b8723;
$custom-light: #b0a966;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8723",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 57.692,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.1174,
    "h": 107.1
  },
  "luminance": 0.22938
}

Semantic roles & 50–950 ramp

primary
#8B8723
secondary
#5256B8
accent
#4BE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8723

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

Preview Lab → · Contrast checker → · Palette generator →

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