#8B8D17#8B8D17

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

Color values

HEX#8B8D17
RGBrgb(139, 141, 23)
HSLhsl(61, 72%, 32%)
HSVhsv(61, 84%, 55%)
CMYKcmyk(1.4%, 0%, 83.7%, 44.7%)
CIE-LABlab(56.68, -14.29, 56.23)
CIE-LCHlch(56.68, 58.02, 104.25°)
OKLaboklab(62.17% -0.0458 0.1213)
OKLCHoklch(62.17% 0.13 110.7)
XYZxyz(20.3278, 24.6012, 4.4881)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D17 #19178D
analogous
#8D5417 #8B8D17 #508D17
triadic
#8B8D17 #178B8D #8D178B
tetradic
#8B8D17 #178D54 #19178D #8D1750
square
#8B8D17 #178D54 #19178D #8D1750
split-complementary
#8B8D17 #17508D #54178D
monochromatic
#232406 #57580E #8B8D17 #BFC220 #DDE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8D17#FFFFFF#000000##000000
##8B8D171.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)
#9A8923
Tritanopia (blue-blind)
#958478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d17;
/* rgb */ color: rgb(139, 141, 23);
/* oklch */ color: oklch(62.2% 0.130 110.7);
Tailwind
colors: {
  custom: {
    50: '#b1ae61',
    500: '#8b8d17',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d17;
$custom-light: #b1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d17",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 61.017,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.6217,
    "c": 0.12969,
    "h": 110.7
  },
  "luminance": 0.24601
}

Semantic roles & 50–950 ramp

primary
#8B8D17
secondary
#4240C0
accent
#39EF3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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