#8B8A2B#8B8A2B

#8B8A2B is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.115 H 108.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8B8A2B
RGBrgb(139, 138, 43)
HSLhsl(59, 53%, 36%)
HSVhsv(59, 69%, 55%)
CMYKcmyk(0%, 0.7%, 69.1%, 45.5%)
CIE-LABlab(55.93, -11.79, 48.66)
CIE-LCHlch(55.93, 50.06, 103.62°)
OKLaboklab(61.6% -0.037 0.109)
OKLCHoklch(61.6% 0.115 108.8)
XYZxyz(20.1727, 23.8410, 5.8242)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A2B #2B2C8B
analogous
#8B5A2B #8B8A2B #5C8B2B
triadic
#8B8A2B #2B8B8A #8A2B8B
tetradic
#8B8A2B #2B8B5A #2B2C8B #8B2B5C
square
#8B8A2B #2B8B5A #2B2C8B #8B2B5C
split-complementary
#8B8A2B #2B5C8B #5A2B8B
monochromatic
#2E2D0E #5C5C1D #8B8A2B #BAB839 #CECD62

Accessibility & contrast

On white

3.64
#8B8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8B8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A2B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A2B#FFFFFF#000000##000000
##8B8A2B1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841D
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#958177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a2b;
/* rgb */ color: rgb(139, 138, 43);
/* oklch */ color: oklch(61.6% 0.115 108.8);
Tailwind
colors: {
  custom: {
    50: '#b0ab6a',
    500: '#8b8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a2b;
$custom-light: #b0ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a2b",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 59.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61602,
    "c": 0.11509,
    "h": 108.8
  },
  "luminance": 0.2384
}

Semantic roles & 50–950 ramp

primary
#8B8A2B
secondary
#5D5EB5
accent
#4DDC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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