#8B8623#8B8623

#8B8623 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.116 H 106.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B8623
RGBrgb(139, 134, 35)
HSLhsl(57, 60%, 34%)
HSVhsv(57, 75%, 55%)
CMYKcmyk(0%, 3.6%, 74.8%, 45.5%)
CIE-LABlab(54.72, -10.06, 50.61)
CIE-LCHlch(54.72, 51.60, 101.24°)
OKLaboklab(60.62% -0.033 0.1116)
OKLCHoklch(60.62% 0.116 106.5)
XYZxyz(19.4767, 22.6612, 4.9379)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8623 #23288B
analogous
#8B5223 #8B8623 #5C8B23
triadic
#8B8623 #238B86 #86238B
tetradic
#8B8623 #238B52 #23288B #8B235C
square
#8B8623 #238B52 #23288B #8B235C
split-complementary
#8B8623 #235C8B #52238B
monochromatic
#29280A #5A5717 #8B8623 #BCB52F #D4CE54

Accessibility & contrast

On white

3.80
#8B8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8B8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8623
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8623#FFFFFF#000000##000000
##8B86231.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#967D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b8623;
/* rgb */ color: rgb(139, 134, 35);
/* oklch */ color: oklch(60.6% 0.116 106.5);
Tailwind
colors: {
  custom: {
    50: '#b0a966',
    500: '#8b8623',
    950: '#000000',
  },
}
SCSS
$custom: #8b8623;
$custom-light: #b0a966;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8623",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 57.115,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.1164,
    "h": 106.5
  },
  "luminance": 0.22661
}

Semantic roles & 50–950 ramp

primary
#8B8623
secondary
#5257B8
accent
#4CE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8623

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

Preview Lab → · Contrast checker → · Palette generator →

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