#8B8E17#8B8E17

#8B8E17 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.131 H 111.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8B8E17
RGBrgb(139, 142, 23)
HSLhsl(62, 72%, 32%)
HSVhsv(62, 84%, 56%)
CMYKcmyk(2.1%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.98, -14.81, 56.48)
CIE-LCHlch(56.98, 58.39, 104.70°)
OKLaboklab(62.4% -0.0473 0.1219)
OKLCHoklch(62.4% 0.131 111.2)
XYZxyz(20.4759, 24.8974, 4.5375)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E17 #1A178E
analogous
#8E5617 #8B8E17 #4F8E17
triadic
#8B8E17 #178B8E #8E178B
tetradic
#8B8E17 #178E56 #1A178E #8E174F
square
#8B8E17 #178E56 #1A178E #8E174F
split-complementary
#8B8E17 #174F8E #56178E
monochromatic
#242506 #57590E #8B8E17 #BFC320 #DCE03F

Accessibility & contrast

On white

3.51
#8B8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8B8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8E17
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8E17#FFFFFF#000000##000000
##8B8E171.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8A23
Tritanopia (blue-blind)
#958579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8e17;
/* rgb */ color: rgb(139, 142, 23);
/* oklch */ color: oklch(62.4% 0.131 111.2);
Tailwind
colors: {
  custom: {
    50: '#b1ae62',
    500: '#8b8e17',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e17;
$custom-light: #b1ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e17",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 61.513,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62403,
    "c": 0.13072,
    "h": 111.2
  },
  "luminance": 0.24897
}

Semantic roles & 50–950 ramp

primary
#8B8E17
secondary
#4440C0
accent
#39EF3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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