#8B982F#8B982F

#8B982F is a light, vivid yellow. Relative luminance 0.282; OKLCH L 64.9% C 0.128 H 116.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8B982F
RGBrgb(139, 152, 47)
HSLhsl(67, 53%, 39%)
HSVhsv(67, 69%, 60%)
CMYKcmyk(8.6%, 0%, 69.1%, 40.4%)
CIE-LABlab(60.02, -18.90, 51.18)
CIE-LCHlch(60.02, 54.55, 110.27°)
OKLaboklab(64.89% -0.0565 0.115)
OKLCHoklch(64.89% 0.128 116.2)
XYZxyz(22.3893, 28.1510, 6.9430)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B982F #3C2F98
analogous
#98712F #8B982F #57982F
triadic
#8B982F #2F8B98 #982F8B
tetradic
#8B982F #2F9871 #3C2F98 #982F57
square
#8B982F #2F9871 #3C2F98 #982F57
split-complementary
#8B982F #2F5798 #712F98
monochromatic
#363B12 #606921 #8B982F #B4C440 #C6D26F

Accessibility & contrast

On white

3.17
#8B982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8B982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B982F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B982F#FFFFFF#000000##000000
##8B982F1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901F
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#948F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8b982f;
/* rgb */ color: rgb(139, 152, 47);
/* oklch */ color: oklch(64.9% 0.128 116.2);
Tailwind
colors: {
  custom: {
    50: '#b0b66e',
    500: '#8b982f',
    950: '#000000',
  },
}
SCSS
$custom: #8b982f;
$custom-light: #b0b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b982f",
  "rgb": {
    "r": 139,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 67.429,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6489,
    "c": 0.12809,
    "h": 116.2
  },
  "luminance": 0.28151
}

Semantic roles & 50–950 ramp

primary
#8B982F
secondary
#7369BA
accent
#4CDC5E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8B982F

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

Preview Lab → · Contrast checker → · Palette generator →

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