#8B981E#8B981E

#8B981E is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.138 H 115.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8B981E
RGBrgb(139, 152, 30)
HSLhsl(66, 67%, 36%)
HSVhsv(66, 80%, 60%)
CMYKcmyk(8.6%, 0%, 80.3%, 40.4%)
CIE-LABlab(59.92, -19.75, 57.08)
CIE-LCHlch(59.92, 60.40, 109.09°)
OKLaboklab(64.78% -0.0604 0.1244)
OKLCHoklch(64.78% 0.138 115.9)
XYZxyz(22.1107, 28.0395, 5.4754)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B981E #2B1E98
analogous
#98681E #8B981E #4E981E
triadic
#8B981E #1E8B98 #981E8B
tetradic
#8B981E #1E9868 #2B1E98 #981E4E
square
#8B981E #1E9868 #2B1E98 #981E4E
split-complementary
#8B981E #1E4E98 #681E98
monochromatic
#2E320A #5C6514 #8B981E #BACB28 #CEDD53

Accessibility & contrast

On white

3.18
#8B981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8B981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B981E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B981E#FFFFFF#000000##000000
##8B981E1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#948F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b981e;
/* rgb */ color: rgb(139, 152, 30);
/* oklch */ color: oklch(64.8% 0.138 115.9);
Tailwind
colors: {
  custom: {
    50: '#b0b666',
    500: '#8b981e',
    950: '#000000',
  },
}
SCSS
$custom: #8b981e;
$custom-light: #b0b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8b981e",
  "rgb": {
    "r": 139,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 66.393,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64777,
    "c": 0.13832,
    "h": 115.9
  },
  "luminance": 0.28039
}

Semantic roles & 50–950 ramp

primary
#8B981E
secondary
#5D51C0
accent
#3EEA50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B981E

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

Preview Lab → · Contrast checker → · Palette generator →

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