#8B8423#8B8423

#8B8423 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.114 H 105.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8B8423
RGBrgb(139, 132, 35)
HSLhsl(56, 60%, 34%)
HSVhsv(56, 75%, 55%)
CMYKcmyk(0%, 5%, 74.8%, 45.5%)
CIE-LABlab(54.15, -8.97, 50.06)
CIE-LCHlch(54.15, 50.86, 100.16°)
OKLaboklab(60.16% -0.0299 0.1105)
OKLCHoklch(60.16% 0.114 105.2)
XYZxyz(19.2029, 22.1136, 4.8466)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8423 #232A8B
analogous
#8B5023 #8B8423 #5E8B23
triadic
#8B8423 #238B84 #84238B
tetradic
#8B8423 #238B50 #232A8B #8B235E
square
#8B8423 #238B50 #232A8B #8B235E
split-complementary
#8B8423 #235E8B #50238B
monochromatic
#29270A #5A5617 #8B8423 #BCB22F #D4CB54

Accessibility & contrast

On white

3.87
#8B8423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8B8423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8423
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8423#FFFFFF#000000##000000
##8B84231.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8423;
/* rgb */ color: rgb(139, 132, 35);
/* oklch */ color: oklch(60.2% 0.114 105.2);
Tailwind
colors: {
  custom: {
    50: '#b0a765',
    500: '#8b8423',
    950: '#000000',
  },
}
SCSS
$custom: #8b8423;
$custom-light: #b0a765;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8423",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 55.962,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60164,
    "c": 0.11445,
    "h": 105.2
  },
  "luminance": 0.22113
}

Semantic roles & 50–950 ramp

primary
#8B8423
secondary
#5259B8
accent
#50E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8423

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

Preview Lab → · Contrast checker → · Palette generator →

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