#8B9927#8B9927

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

Color values

HEX#8B9927
RGBrgb(139, 153, 39)
HSLhsl(67, 59%, 38%)
HSVhsv(67, 75%, 60%)
CMYKcmyk(9.2%, 0%, 74.5%, 40%)
CIE-LABlab(60.26, -19.86, 54.45)
CIE-LCHlch(60.26, 57.96, 110.04°)
OKLaboklab(65.07% -0.0599 0.1205)
OKLCHoklch(65.07% 0.135 116.4)
XYZxyz(22.4055, 28.4182, 6.2240)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9927 #352799
analogous
#996E27 #8B9927 #529927
triadic
#8B9927 #278B99 #99278B
tetradic
#8B9927 #27996E #352799 #992752
square
#8B9927 #27996E #352799 #992752
split-complementary
#8B9927 #275299 #6E2799
monochromatic
#32370E #5F681B #8B9927 #B7CA33 #C9D763

Accessibility & contrast

On white

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

On black

6.68
#8B9927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9927
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9927#FFFFFF#000000##000000
##8B99271.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b9927;
/* rgb */ color: rgb(139, 153, 39);
/* oklch */ color: oklch(65.1% 0.135 116.4);
Tailwind
colors: {
  custom: {
    50: '#b0b66a',
    500: '#8b9927',
    950: '#000000',
  },
}
SCSS
$custom: #8b9927;
$custom-light: #b0b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9927",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 67.368,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65065,
    "c": 0.13455,
    "h": 116.4
  },
  "luminance": 0.28418
}

Semantic roles & 50–950 ramp

primary
#8B9927
secondary
#6A5FBD
accent
#45E359
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9927

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

Preview Lab → · Contrast checker → · Palette generator →

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