#8D982D#8D982D

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

Color values

HEX#8D982D
RGBrgb(141, 152, 45)
HSLhsl(66, 54%, 39%)
HSVhsv(66, 70%, 60%)
CMYKcmyk(7.2%, 0%, 70.4%, 40.4%)
CIE-LABlab(60.17, -18.15, 52.16)
CIE-LCHlch(60.17, 55.23, 109.18°)
OKLaboklab(65.04% -0.0547 0.1166)
OKLCHoklch(65.04% 0.129 115.1)
XYZxyz(22.6870, 28.3090, 6.7512)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D982D #382D98
analogous
#986D2D #8D982D #57982D
triadic
#8D982D #2D8D98 #982D8D
tetradic
#8D982D #2D986D #382D98 #982D57
square
#8D982D #2D986D #382D98 #982D57
split-complementary
#8D982D #2D5798 #6D2D98
monochromatic
#353A11 #61691F #8D982D #B7C53D #C9D36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D982D#FFFFFF#000000##000000
##8D982D1.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)
#A3901C
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#968F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d982d;
/* rgb */ color: rgb(141, 152, 45);
/* oklch */ color: oklch(65.0% 0.129 115.1);
Tailwind
colors: {
  custom: {
    50: '#b1b66d',
    500: '#8d982d',
    950: '#000000',
  },
}
SCSS
$custom: #8d982d;
$custom-light: #b1b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d982d",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 66.168,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65038,
    "c": 0.12884,
    "h": 115.1
  },
  "luminance": 0.28309
}

Semantic roles & 50–950 ramp

primary
#8D982D
secondary
#6F66BA
accent
#4ADE59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D982D

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

Preview Lab → · Contrast checker → · Palette generator →

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