#8B8519#8B8519

#8B8519 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.121 H 106.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8B8519
RGBrgb(139, 133, 25)
HSLhsl(57, 70%, 32%)
HSVhsv(57, 82%, 55%)
CMYKcmyk(0%, 4.3%, 82%, 45.5%)
CIE-LABlab(54.38, -9.93, 53.67)
CIE-LCHlch(54.38, 54.58, 100.48°)
OKLaboklab(60.33% -0.0336 0.1162)
OKLCHoklch(60.33% 0.121 106.1)
XYZxyz(19.2113, 22.3349, 4.2186)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8519 #191F8B
analogous
#8B4C19 #8B8519 #588B19
triadic
#8B8519 #198B85 #85198B
tetradic
#8B8519 #198B4C #191F8B #8B1958
square
#8B8519 #198B4C #191F8B #8B1958
split-complementary
#8B8519 #19588B #4C198B
monochromatic
#232206 #575310 #8B8519 #BFB722 #DDD541

Accessibility & contrast

On white

3.84
#8B8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8B8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8519
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8519#FFFFFF#000000##000000
##8B85191.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8519;
/* rgb */ color: rgb(139, 133, 25);
/* oklch */ color: oklch(60.3% 0.121 106.1);
Tailwind
colors: {
  custom: {
    50: '#b1a861',
    500: '#8b8519',
    950: '#000000',
  },
}
SCSS
$custom: #8b8519;
$custom-light: #b1a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8519",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 56.842,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.12093,
    "h": 106.1
  },
  "luminance": 0.22334
}

Semantic roles & 50–950 ramp

primary
#8B8519
secondary
#4249BE
accent
#45EC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B8519

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

Preview Lab → · Contrast checker → · Palette generator →

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