#8B8722#8B8722

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

Color values

HEX#8B8722
RGBrgb(139, 135, 34)
HSLhsl(58, 61%, 34%)
HSVhsv(58, 76%, 55%)
CMYKcmyk(0%, 2.9%, 75.5%, 45.5%)
CIE-LABlab(55.00, -10.65, 51.25)
CIE-LCHlch(55.00, 52.34, 101.74°)
OKLaboklab(60.85% -0.0347 0.1128)
OKLCHoklch(60.85% 0.118 107.1)
XYZxyz(19.6009, 22.9331, 4.9071)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8722 #22268B
analogous
#8B5322 #8B8722 #5B8B22
triadic
#8B8722 #228B87 #87228B
tetradic
#8B8722 #228B53 #22268B #8B225B
square
#8B8722 #228B53 #22268B #8B225B
split-complementary
#8B8722 #225B8B #53228B
monochromatic
#29270A #5A5716 #8B8722 #BCB72E #D5D053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8722#FFFFFF#000000##000000
##8B87221.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)
#93820D
Deuteranopia (green-blind)
#95852A
Tritanopia (blue-blind)
#957E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8722;
/* rgb */ color: rgb(139, 135, 34);
/* oklch */ color: oklch(60.8% 0.118 107.1);
Tailwind
colors: {
  custom: {
    50: '#b0a965',
    500: '#8b8722',
    950: '#000000',
  },
}
SCSS
$custom: #8b8722;
$custom-light: #b0a965;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8722",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 57.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60845,
    "c": 0.11801,
    "h": 107.1
  },
  "luminance": 0.22932
}

Semantic roles & 50–950 ramp

primary
#8B8722
secondary
#5054B8
accent
#4AE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8722

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

Preview Lab → · Contrast checker → · Palette generator →

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