#8B8719#8B8719

#8B8719 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#8B8719
RGBrgb(139, 135, 25)
HSLhsl(58, 70%, 32%)
HSVhsv(58, 82%, 55%)
CMYKcmyk(0%, 2.9%, 82%, 45.5%)
CIE-LABlab(54.96, -11.01, 54.17)
CIE-LCHlch(54.96, 55.28, 101.49°)
OKLaboklab(60.79% -0.0366 0.1173)
OKLCHoklch(60.79% 0.123 107.3)
XYZxyz(19.4877, 22.8878, 4.3108)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8719 #191D8B
analogous
#8B4E19 #8B8719 #568B19
triadic
#8B8719 #198B87 #87198B
tetradic
#8B8719 #198B4E #191D8B #8B1956
square
#8B8719 #198B4E #191D8B #8B1956
split-complementary
#8B8719 #19568B #4E198B
monochromatic
#232206 #575510 #8B8719 #BFB922 #DDD741

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8719#FFFFFF#000000##000000
##8B87191.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)
#958523
Tritanopia (blue-blind)
#967D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8719;
/* rgb */ color: rgb(139, 135, 25);
/* oklch */ color: oklch(60.8% 0.123 107.3);
Tailwind
colors: {
  custom: {
    50: '#b1a961',
    500: '#8b8719',
    950: '#000000',
  },
}
SCSS
$custom: #8b8719;
$custom-light: #b1a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8719",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 57.895,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60792,
    "c": 0.12284,
    "h": 107.3
  },
  "luminance": 0.22887
}

Semantic roles & 50–950 ramp

primary
#8B8719
secondary
#4246BE
accent
#42EC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B8719

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

Preview Lab → · Contrast checker → · Palette generator →

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