#8B8A1B#8B8A1B

#8B8A1B 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#8B8A1B
RGBrgb(139, 138, 27)
HSLhsl(59, 67%, 33%)
HSVhsv(59, 81%, 55%)
CMYKcmyk(0%, 0.7%, 80.6%, 45.5%)
CIE-LABlab(55.83, -12.55, 54.34)
CIE-LCHlch(55.83, 55.77, 103.01°)
OKLaboklab(61.49% -0.0407 0.118)
OKLCHoklch(61.49% 0.125 109)
XYZxyz(19.9345, 23.7457, 4.5700)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A1B #1B1C8B
analogous
#8B521B #8B8A1B #548B1B
triadic
#8B8A1B #1B8B8A #8A1B8B
tetradic
#8B8A1B #1B8B52 #1B1C8B #8B1B54
square
#8B8A1B #1B8B52 #1B1C8B #8B1B54
split-complementary
#8B8A1B #1B548B #521B8B
monochromatic
#252407 #585711 #8B8A1B #BEBD25 #DBDA45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8A1B#FFFFFF#000000##000000
##8B8A1B1.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)
#978725
Tritanopia (blue-blind)
#958176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a1b;
/* rgb */ color: rgb(139, 138, 27);
/* oklch */ color: oklch(61.5% 0.125 109.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab63',
    500: '#8b8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a1b;
$custom-light: #b0ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a1b",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 59.464,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.12484,
    "h": 109
  },
  "luminance": 0.23745
}

Semantic roles & 50–950 ramp

primary
#8B8A1B
secondary
#4546BC
accent
#3FEA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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