#8B8E15#8B8E15

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

Color values

HEX#8B8E15
RGBrgb(139, 142, 21)
HSLhsl(61, 74%, 32%)
HSVhsv(61, 85%, 56%)
CMYKcmyk(2.1%, 0%, 85.2%, 44.3%)
CIE-LABlab(56.97, -14.88, 56.99)
CIE-LCHlch(56.97, 58.90, 104.63°)
OKLaboklab(62.39% -0.0476 0.1226)
OKLCHoklch(62.39% 0.132 111.2)
XYZxyz(20.4566, 24.8897, 4.4359)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E15 #18158E
analogous
#8E5515 #8B8E15 #4E8E15
triadic
#8B8E15 #158B8E #8E158B
tetradic
#8B8E15 #158E55 #18158E #8E154E
square
#8B8E15 #158E55 #18158E #8E154E
split-complementary
#8B8E15 #154E8E #55158E
monochromatic
#232305 #57590D #8B8E15 #BFC31D #DEE23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8E15#FFFFFF#000000##000000
##8B8E151.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)
#9B8A22
Tritanopia (blue-blind)
#958579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8e15;
/* rgb */ color: rgb(139, 142, 21);
/* oklch */ color: oklch(62.4% 0.132 111.2);
Tailwind
colors: {
  custom: {
    50: '#b1ae61',
    500: '#8b8e15',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e15;
$custom-light: #b1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e15",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 61.488,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.62394,
    "c": 0.13152,
    "h": 111.2
  },
  "luminance": 0.24889
}

Semantic roles & 50–950 ramp

primary
#8B8E15
secondary
#403DC2
accent
#37F13C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8B8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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