#8B8622#8B8622

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

Color values

HEX#8B8622
RGBrgb(139, 134, 34)
HSLhsl(57, 61%, 34%)
HSVhsv(57, 76%, 55%)
CMYKcmyk(0%, 3.6%, 75.5%, 45.5%)
CIE-LABlab(54.72, -10.10, 50.97)
CIE-LCHlch(54.72, 51.97, 101.21°)
OKLaboklab(60.61% -0.0332 0.1122)
OKLCHoklch(60.61% 0.117 106.5)
XYZxyz(19.4621, 22.6554, 4.8608)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8622 #22278B
analogous
#8B5222 #8B8622 #5C8B22
triadic
#8B8622 #228B86 #86228B
tetradic
#8B8622 #228B52 #22278B #8B225C
square
#8B8622 #228B52 #22278B #8B225C
split-complementary
#8B8622 #225C8B #52228B
monochromatic
#29270A #5A5716 #8B8622 #BCB52E #D5CF53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8622#FFFFFF#000000##000000
##8B86221.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)
#92810E
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#967D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b8622;
/* rgb */ color: rgb(139, 134, 34);
/* oklch */ color: oklch(60.6% 0.117 106.5);
Tailwind
colors: {
  custom: {
    50: '#b0a865',
    500: '#8b8622',
    950: '#000000',
  },
}
SCSS
$custom: #8b8622;
$custom-light: #b0a865;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8622",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 57.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60615,
    "c": 0.11701,
    "h": 106.5
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#8B8622
secondary
#5055B8
accent
#4CE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8622

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

Preview Lab → · Contrast checker → · Palette generator →

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