#8B981D#8B981D

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

Color values

HEX#8B981D
RGBrgb(139, 152, 29)
HSLhsl(66, 68%, 35%)
HSVhsv(66, 81%, 60%)
CMYKcmyk(8.6%, 0%, 80.9%, 40.4%)
CIE-LABlab(59.92, -19.79, 57.37)
CIE-LCHlch(59.92, 60.69, 109.03°)
OKLaboklab(64.77% -0.0606 0.1249)
OKLCHoklch(64.77% 0.139 115.9)
XYZxyz(22.0981, 28.0345, 5.4093)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B981D #2A1D98
analogous
#98671D #8B981D #4E981D
triadic
#8B981D #1D8B98 #981D8B
tetradic
#8B981D #1D9867 #2A1D98 #981D4E
square
#8B981D #1D9867 #2A1D98 #981D4E
split-complementary
#8B981D #1D4E98 #671D98
monochromatic
#2D3109 #5C6513 #8B981D #BACB27 #CFDE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B981D#FFFFFF#000000##000000
##8B981D1.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)
#A29129
Tritanopia (blue-blind)
#948F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b981d;
/* rgb */ color: rgb(139, 152, 29);
/* oklch */ color: oklch(64.8% 0.139 115.9);
Tailwind
colors: {
  custom: {
    50: '#b0b665',
    500: '#8b981d',
    950: '#000000',
  },
}
SCSS
$custom: #8b981d;
$custom-light: #b0b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8b981d",
  "rgb": {
    "r": 139,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 66.341,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64772,
    "c": 0.1388,
    "h": 115.9
  },
  "luminance": 0.28034
}

Semantic roles & 50–950 ramp

primary
#8B981D
secondary
#5C50C1
accent
#3DEB4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B981D

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

Preview Lab → · Contrast checker → · Palette generator →

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