#8D982A#8D982A

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

Color values

HEX#8D982A
RGBrgb(141, 152, 42)
HSLhsl(66, 57%, 38%)
HSVhsv(66, 72%, 60%)
CMYKcmyk(7.2%, 0%, 72.4%, 40.4%)
CIE-LABlab(60.15, -18.32, 53.29)
CIE-LCHlch(60.15, 56.35, 108.97°)
OKLaboklab(65.02% -0.0555 0.1185)
OKLCHoklch(65.02% 0.131 115.1)
XYZxyz(22.6313, 28.2867, 6.4577)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D982A #352A98
analogous
#986C2A #8D982A #56982A
triadic
#8D982A #2A8D98 #982A8D
tetradic
#8D982A #2A986C #352A98 #982A56
square
#8D982A #2A986C #352A98 #982A56
split-complementary
#8D982A #2A5698 #6C2A98
monochromatic
#343810 #61681D #8D982A #B9C837 #CAD567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D982A#FFFFFF#000000##000000
##8D982A1.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)
#A39016
Deuteranopia (green-blind)
#A29233
Tritanopia (blue-blind)
#968F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d982a;
/* rgb */ color: rgb(141, 152, 42);
/* oklch */ color: oklch(65.0% 0.131 115.1);
Tailwind
colors: {
  custom: {
    50: '#b1b66b',
    500: '#8d982a',
    950: '#000000',
  },
}
SCSS
$custom: #8d982a;
$custom-light: #b1b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d982a",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 66,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65016,
    "c": 0.13085,
    "h": 115.1
  },
  "luminance": 0.28286
}

Semantic roles & 50–950 ramp

primary
#8D982A
secondary
#6B62BB
accent
#48E057
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D982A

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

Preview Lab → · Contrast checker → · Palette generator →

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