#8B9727#8B9727

#8B9727 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.55:1 contrast (WCAG AA passes).

Color values

HEX#8B9727
RGBrgb(139, 151, 39)
HSLhsl(66, 59%, 37%)
HSVhsv(66, 74%, 59%)
CMYKcmyk(7.9%, 0%, 74.2%, 40.8%)
CIE-LABlab(59.68, -18.83, 53.89)
CIE-LCHlch(59.68, 57.08, 109.26°)
OKLaboklab(64.6% -0.0571 0.1193)
OKLCHoklch(64.6% 0.132 115.6)
XYZxyz(22.0809, 27.7690, 6.1158)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9727 #332797
analogous
#976B27 #8B9727 #539727
triadic
#8B9727 #278B97 #97278B
tetradic
#8B9727 #27976B #332797 #972753
square
#8B9727 #27976B #332797 #972753
split-complementary
#8B9727 #275397 #6B2797
monochromatic
#31360E #5E661A #8B9727 #B8C834 #CAD662

Accessibility & contrast

On white

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

On black

6.55
#8B9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9727
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9727#FFFFFF#000000##000000
##8B97271.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#A19130
Tritanopia (blue-blind)
#948E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9727;
/* rgb */ color: rgb(139, 151, 39);
/* oklch */ color: oklch(64.6% 0.132 115.6);
Tailwind
colors: {
  custom: {
    50: '#b0b56a',
    500: '#8b9727',
    950: '#000000',
  },
}
SCSS
$custom: #8b9727;
$custom-light: #b0b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9727",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 66.429,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64596,
    "c": 0.13225,
    "h": 115.6
  },
  "luminance": 0.27769
}

Semantic roles & 50–950 ramp

primary
#8B9727
secondary
#685EBC
accent
#46E256
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9727

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

Preview Lab → · Contrast checker → · Palette generator →

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