#8D982C#8D982C

#8D982C 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#8D982C
RGBrgb(141, 152, 44)
HSLhsl(66, 55%, 38%)
HSVhsv(66, 71%, 60%)
CMYKcmyk(7.2%, 0%, 71.1%, 40.4%)
CIE-LABlab(60.16, -18.20, 52.54)
CIE-LCHlch(60.16, 55.61, 109.11°)
OKLaboklab(65.03% -0.055 0.1173)
OKLCHoklch(65.03% 0.13 115.1)
XYZxyz(22.6680, 28.3014, 6.6510)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D982C #372C98
analogous
#986D2C #8D982C #57982C
triadic
#8D982C #2C8D98 #982C8D
tetradic
#8D982C #2C986D #372C98 #982C57
square
#8D982C #2C986D #372C98 #982C57
split-complementary
#8D982C #2C5798 #6D2C98
monochromatic
#353911 #61691E #8D982C #B8C63B #C9D46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D982C#FFFFFF#000000##000000
##8D982C1.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)
#A3901A
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#968F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d982c;
/* rgb */ color: rgb(141, 152, 44);
/* oklch */ color: oklch(65.0% 0.130 115.1);
Tailwind
colors: {
  custom: {
    50: '#b1b66c',
    500: '#8d982c',
    950: '#000000',
  },
}
SCSS
$custom: #8d982c;
$custom-light: #b1b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d982c",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 66.111,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6503,
    "c": 0.12953,
    "h": 115.1
  },
  "luminance": 0.28301
}

Semantic roles & 50–950 ramp

primary
#8D982C
secondary
#6E65BB
accent
#49DE59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D982C

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

Preview Lab → · Contrast checker → · Palette generator →

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