#8B8A1D#8B8A1D

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

Color values

HEX#8B8A1D
RGBrgb(139, 138, 29)
HSLhsl(59, 65%, 33%)
HSVhsv(59, 79%, 55%)
CMYKcmyk(0%, 0.7%, 79.1%, 45.5%)
CIE-LABlab(55.84, -12.47, 53.73)
CIE-LCHlch(55.84, 55.16, 103.07°)
OKLaboklab(61.51% -0.0403 0.1171)
OKLCHoklch(61.51% 0.124 109)
XYZxyz(19.9585, 23.7553, 4.6960)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A1D #1D1E8B
analogous
#8B531D #8B8A1D #558B1D
triadic
#8B8A1D #1D8B8A #8A1D8B
tetradic
#8B8A1D #1D8B53 #1D1E8B #8B1D55
square
#8B8A1D #1D8B53 #1D1E8B #8B1D55
split-complementary
#8B8A1D #1D558B #531D8B
monochromatic
#262508 #585812 #8B8A1D #BEBC28 #D9D849

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8A1D#FFFFFF#000000##000000
##8B8A1D1.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)
#978726
Tritanopia (blue-blind)
#958176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a1d;
/* rgb */ color: rgb(139, 138, 29);
/* oklch */ color: oklch(61.5% 0.124 109.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab63',
    500: '#8b8a1d',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a1d;
$custom-light: #b0ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a1d",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 59.455,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.12383,
    "h": 109
  },
  "luminance": 0.23755
}

Semantic roles & 50–950 ramp

primary
#8B8A1D
secondary
#494ABB
accent
#41E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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