#8B9928#8B9928

#8B9928 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.1% C 0.134 H 116.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8B9928
RGBrgb(139, 153, 40)
HSLhsl(67, 59%, 38%)
HSVhsv(67, 74%, 60%)
CMYKcmyk(9.2%, 0%, 73.9%, 40%)
CIE-LABlab(60.27, -19.81, 54.10)
CIE-LCHlch(60.27, 57.61, 110.11°)
OKLaboklab(65.07% -0.0597 0.1199)
OKLCHoklch(65.07% 0.134 116.5)
XYZxyz(22.4223, 28.4249, 6.3124)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9928 #362899
analogous
#996F28 #8B9928 #529928
triadic
#8B9928 #288B99 #99288B
tetradic
#8B9928 #28996F #362899 #992852
square
#8B9928 #28996F #362899 #992852
split-complementary
#8B9928 #285299 #6F2899
monochromatic
#33380F #5F681B #8B9928 #B7CA35 #C9D765

Accessibility & contrast

On white

3.14
#8B9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#8B9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9928
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9928#FFFFFF#000000##000000
##8B99281.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49112
Deuteranopia (green-blind)
#A39231
Tritanopia (blue-blind)
#949083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8b9928;
/* rgb */ color: rgb(139, 153, 40);
/* oklch */ color: oklch(65.1% 0.134 116.5);
Tailwind
colors: {
  custom: {
    50: '#b0b76a',
    500: '#8b9928',
    950: '#000000',
  },
}
SCSS
$custom: #8b9928;
$custom-light: #b0b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9928",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 67.434,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65072,
    "c": 0.13395,
    "h": 116.5
  },
  "luminance": 0.28425
}

Semantic roles & 50–950 ramp

primary
#8B9928
secondary
#6C60BD
accent
#46E259
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9928

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

Preview Lab → · Contrast checker → · Palette generator →

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