#8D982B#8D982B

#8D982B is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.130 H 115.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8D982B
RGBrgb(141, 152, 43)
HSLhsl(66, 56%, 38%)
HSVhsv(66, 72%, 60%)
CMYKcmyk(7.2%, 0%, 71.7%, 40.4%)
CIE-LABlab(60.15, -18.26, 52.92)
CIE-LCHlch(60.15, 55.98, 109.04°)
OKLaboklab(65.02% -0.0552 0.1179)
OKLCHoklch(65.02% 0.13 115.1)
XYZxyz(22.6494, 28.2940, 6.5532)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D982B #362B98
analogous
#986C2B #8D982B #56982B
triadic
#8D982B #2B8D98 #982B8D
tetradic
#8D982B #2B986C #362B98 #982B56
square
#8D982B #2B986C #362B98 #982B56
split-complementary
#8D982B #2B5698 #6C2B98
monochromatic
#343910 #61681E #8D982B #B9C739 #CAD569

Accessibility & contrast

On white

3.15
#8D982B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8D982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D982B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D982B#FFFFFF#000000##000000
##8D982B1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39018
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#968F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d982b;
/* rgb */ color: rgb(141, 152, 43);
/* oklch */ color: oklch(65.0% 0.130 115.1);
Tailwind
colors: {
  custom: {
    50: '#b1b66c',
    500: '#8d982b',
    950: '#000000',
  },
}
SCSS
$custom: #8d982b;
$custom-light: #b1b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d982b",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 66.055,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65023,
    "c": 0.1302,
    "h": 115.1
  },
  "luminance": 0.28294
}

Semantic roles & 50–950 ramp

primary
#8D982B
secondary
#6D64BB
accent
#49DF58
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D982B

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

Preview Lab → · Contrast checker → · Palette generator →

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