#8B8518#8B8518

#8B8518 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#8B8518
RGBrgb(139, 133, 24)
HSLhsl(57, 71%, 32%)
HSVhsv(57, 83%, 55%)
CMYKcmyk(0%, 4.3%, 82.7%, 45.5%)
CIE-LABlab(54.38, -9.97, 53.96)
CIE-LCHlch(54.38, 54.87, 100.46°)
OKLaboklab(60.33% -0.0337 0.1166)
OKLCHoklch(60.33% 0.121 106.1)
XYZxyz(19.2007, 22.3307, 4.1628)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8518 #181E8B
analogous
#8B4C18 #8B8518 #578B18
triadic
#8B8518 #188B85 #85188B
tetradic
#8B8518 #188B4C #181E8B #8B1857
square
#8B8518 #188B4C #181E8B #8B1857
split-complementary
#8B8518 #18578B #4C188B
monochromatic
#232106 #57530F #8B8518 #BFB721 #DED63F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8518#FFFFFF#000000##000000
##8B85181.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)
#948422
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8518;
/* rgb */ color: rgb(139, 133, 24);
/* oklch */ color: oklch(60.3% 0.121 106.1);
Tailwind
colors: {
  custom: {
    50: '#b1a861',
    500: '#8b8518',
    950: '#000000',
  },
}
SCSS
$custom: #8b8518;
$custom-light: #b1a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8518",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 56.87,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.12139,
    "h": 106.1
  },
  "luminance": 0.2233
}

Semantic roles & 50–950 ramp

primary
#8B8518
secondary
#4047BE
accent
#44ED3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B8518

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

Preview Lab → · Contrast checker → · Palette generator →

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