#8B8A1A#8B8A1A

#8B8A1A is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.125 H 109.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8B8A1A
RGBrgb(139, 138, 26)
HSLhsl(59, 68%, 32%)
HSVhsv(59, 81%, 55%)
CMYKcmyk(0%, 0.7%, 81.3%, 45.5%)
CIE-LABlab(55.83, -12.59, 54.64)
CIE-LCHlch(55.83, 56.07, 102.97°)
OKLaboklab(61.49% -0.0409 0.1185)
OKLCHoklch(61.49% 0.125 109)
XYZxyz(19.9232, 23.7411, 4.5101)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A1A #1A1B8B
analogous
#8B521A #8B8A1A #548B1A
triadic
#8B8A1A #1A8B8A #8A1A8B
tetradic
#8B8A1A #1A8B52 #1A1B8B #8B1A54
square
#8B8A1A #1A8B52 #1A1B8B #8B1A54
split-complementary
#8B8A1A #1A548B #521A8B
monochromatic
#242407 #575710 #8B8A1A #BFBD24 #DCDB43

Accessibility & contrast

On white

3.65
#8B8A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8B8A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A1A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A1A#FFFFFF#000000##000000
##8B8A1A1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#968176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a1a;
/* rgb */ color: rgb(139, 138, 26);
/* oklch */ color: oklch(61.5% 0.125 109.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab62',
    500: '#8b8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a1a;
$custom-light: #b0ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a1a",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 59.469,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.12532,
    "h": 109
  },
  "luminance": 0.23741
}

Semantic roles & 50–950 ramp

primary
#8B8A1A
secondary
#4445BD
accent
#3EEB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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