#8B8D15#8B8D15

#8B8D15 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.2% C 0.131 H 110.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8B8D15
RGBrgb(139, 141, 21)
HSLhsl(61, 74%, 32%)
HSVhsv(61, 85%, 55%)
CMYKcmyk(1.4%, 0%, 85.1%, 44.7%)
CIE-LABlab(56.68, -14.35, 56.74)
CIE-LCHlch(56.68, 58.53, 104.19°)
OKLaboklab(62.16% -0.0461 0.1221)
OKLCHoklch(62.16% 0.131 110.7)
XYZxyz(20.3085, 24.5935, 4.3865)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D15 #17158D
analogous
#8D5315 #8B8D15 #4F8D15
triadic
#8B8D15 #158B8D #8D158B
tetradic
#8B8D15 #158D53 #17158D #8D154F
square
#8B8D15 #158D53 #17158D #8D154F
split-complementary
#8B8D15 #154F8D #53158D
monochromatic
#222205 #56580D #8B8D15 #C0C21D #DFE23B

Accessibility & contrast

On white

3.55
#8B8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8B8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8D15
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8D15#FFFFFF#000000##000000
##8B8D151.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9A8922
Tritanopia (blue-blind)
#958378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d15;
/* rgb */ color: rgb(139, 141, 21);
/* oklch */ color: oklch(62.2% 0.131 110.7);
Tailwind
colors: {
  custom: {
    50: '#b1ae61',
    500: '#8b8d15',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d15;
$custom-light: #b1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d15",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 61,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.62162,
    "c": 0.1305,
    "h": 110.7
  },
  "luminance": 0.24593
}

Semantic roles & 50–950 ramp

primary
#8B8D15
secondary
#3F3DC1
accent
#37F13A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8B8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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