#8B9728#8B9728

#8B9728 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.6% C 0.132 H 115.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8B9728
RGBrgb(139, 151, 40)
HSLhsl(66, 58%, 37%)
HSVhsv(66, 74%, 59%)
CMYKcmyk(7.9%, 0%, 73.5%, 40.8%)
CIE-LABlab(59.69, -18.78, 53.53)
CIE-LCHlch(59.69, 56.73, 109.33°)
OKLaboklab(64.6% -0.0569 0.1187)
OKLCHoklch(64.6% 0.132 115.6)
XYZxyz(22.0977, 27.7757, 6.2042)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9728 #342897
analogous
#976B28 #8B9728 #549728
triadic
#8B9728 #288B97 #97288B
tetradic
#8B9728 #28976B #342897 #972854
square
#8B9728 #28976B #342897 #972854
split-complementary
#8B9728 #285497 #6B2897
monochromatic
#32360E #5E671B #8B9728 #B8C735 #C9D664

Accessibility & contrast

On white

3.20
#8B9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8B9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9728
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9728#FFFFFF#000000##000000
##8B97281.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F13
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#948E82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9728;
/* rgb */ color: rgb(139, 151, 40);
/* oklch */ color: oklch(64.6% 0.132 115.6);
Tailwind
colors: {
  custom: {
    50: '#b0b56a',
    500: '#8b9728',
    950: '#000000',
  },
}
SCSS
$custom: #8b9728;
$custom-light: #b0b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9728",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 66.486,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64602,
    "c": 0.13163,
    "h": 115.6
  },
  "luminance": 0.27775
}

Semantic roles & 50–950 ramp

primary
#8B9728
secondary
#695FBC
accent
#46E157
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9728

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

Preview Lab → · Contrast checker → · Palette generator →

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