#8B9729#8B9729

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

Color values

HEX#8B9729
RGBrgb(139, 151, 41)
HSLhsl(67, 57%, 38%)
HSVhsv(67, 73%, 59%)
CMYKcmyk(7.9%, 0%, 72.8%, 40.8%)
CIE-LABlab(59.69, -18.73, 53.17)
CIE-LCHlch(59.69, 56.37, 109.41°)
OKLaboklab(64.61% -0.0566 0.1181)
OKLCHoklch(64.61% 0.131 115.6)
XYZxyz(22.1149, 27.7826, 6.2950)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9729 #352997
analogous
#976C29 #8B9729 #549729
triadic
#8B9729 #298B97 #97298B
tetradic
#8B9729 #29976C #352997 #972954
square
#8B9729 #29976C #352997 #972954
split-complementary
#8B9729 #295497 #6C2997
monochromatic
#32370F #5F671C #8B9729 #B7C736 #C9D565

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B9729#FFFFFF#000000##000000
##8B97291.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)
#A28F15
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#948E82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9729;
/* rgb */ color: rgb(139, 151, 41);
/* oklch */ color: oklch(64.6% 0.131 115.6);
Tailwind
colors: {
  custom: {
    50: '#b0b56b',
    500: '#8b9729',
    950: '#000000',
  },
}
SCSS
$custom: #8b9729;
$custom-light: #b0b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9729",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 66.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64609,
    "c": 0.13099,
    "h": 115.6
  },
  "luminance": 0.27782
}

Semantic roles & 50–950 ramp

primary
#8B9729
secondary
#6A61BB
accent
#47E158
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9729

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

Preview Lab → · Contrast checker → · Palette generator →

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