#8B8718#8B8718

#8B8718 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.123 H 107.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8B8718
RGBrgb(139, 135, 24)
HSLhsl(58, 71%, 32%)
HSVhsv(58, 83%, 55%)
CMYKcmyk(0%, 2.9%, 82.7%, 45.5%)
CIE-LABlab(54.95, -11.05, 54.46)
CIE-LCHlch(54.95, 55.57, 101.47°)
OKLaboklab(60.79% -0.0367 0.1177)
OKLCHoklch(60.79% 0.123 107.3)
XYZxyz(19.4771, 22.8836, 4.2550)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8718 #181C8B
analogous
#8B4E18 #8B8718 #568B18
triadic
#8B8718 #188B87 #87188B
tetradic
#8B8718 #188B4E #181C8B #8B1856
square
#8B8718 #188B4E #181C8B #8B1856
split-complementary
#8B8718 #18568B #4E188B
monochromatic
#232206 #57540F #8B8718 #BFBA21 #DED83F

Accessibility & contrast

On white

3.77
#8B8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8B8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8718
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8718#FFFFFF#000000##000000
##8B87181.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#967D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b8718;
/* rgb */ color: rgb(139, 135, 24);
/* oklch */ color: oklch(60.8% 0.123 107.3);
Tailwind
colors: {
  custom: {
    50: '#b1a961',
    500: '#8b8718',
    950: '#000000',
  },
}
SCSS
$custom: #8b8718;
$custom-light: #b1a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8718",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 57.913,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.12329,
    "h": 107.3
  },
  "luminance": 0.22883
}

Semantic roles & 50–950 ramp

primary
#8B8718
secondary
#4045BE
accent
#41ED3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B8718

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

Preview Lab → · Contrast checker → · Palette generator →

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