#8B8A19#8B8A19

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

Color values

HEX#8B8A19
RGBrgb(139, 138, 25)
HSLhsl(59, 70%, 32%)
HSVhsv(59, 82%, 55%)
CMYKcmyk(0%, 0.7%, 82%, 45.5%)
CIE-LABlab(55.82, -12.62, 54.93)
CIE-LCHlch(55.82, 56.36, 102.94°)
OKLaboklab(61.48% -0.0411 0.1189)
OKLCHoklch(61.48% 0.126 109.1)
XYZxyz(19.9122, 23.7368, 4.4523)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A19 #191A8B
analogous
#8B5119 #8B8A19 #538B19
triadic
#8B8A19 #198B8A #8A198B
tetradic
#8B8A19 #198B51 #191A8B #8B1953
square
#8B8A19 #198B51 #191A8B #8B1953
split-complementary
#8B8A19 #19538B #51198B
monochromatic
#232306 #575710 #8B8A19 #BFBD22 #DDDC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8A19#FFFFFF#000000##000000
##8B8A191.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: #8b8a19;
/* rgb */ color: rgb(139, 138, 25);
/* oklch */ color: oklch(61.5% 0.126 109.1);
Tailwind
colors: {
  custom: {
    50: '#b0ab62',
    500: '#8b8a19',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a19;
$custom-light: #b0ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a19",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 59.474,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.12579,
    "h": 109.1
  },
  "luminance": 0.23736
}

Semantic roles & 50–950 ramp

primary
#8B8A19
secondary
#4243BE
accent
#3DEC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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