#8A982D#8A982D

#8A982D is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.130 H 116.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8A982D
RGBrgb(138, 152, 45)
HSLhsl(68, 54%, 39%)
HSVhsv(68, 70%, 60%)
CMYKcmyk(9.2%, 0%, 70.4%, 40.4%)
CIE-LABlab(59.93, -19.45, 51.85)
CIE-LCHlch(59.93, 55.38, 110.56°)
OKLaboklab(64.79% -0.0582 0.1161)
OKLCHoklch(64.79% 0.13 116.6)
XYZxyz(22.1836, 28.0495, 6.7276)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A982D #3B2D98
analogous
#98702D #8A982D #54982D
triadic
#8A982D #2D8A98 #982D8A
tetradic
#8A982D #2D9870 #3B2D98 #982D54
square
#8A982D #2D9870 #3B2D98 #982D54
split-complementary
#8A982D #2D5498 #702D98
monochromatic
#343A11 #5F691F #8A982D #B4C53D #C6D36C

Accessibility & contrast

On white

3.18
#8A982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8A982D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A982D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A982D#FFFFFF#000000##000000
##8A982D1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901C
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#938F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a982d;
/* rgb */ color: rgb(138, 152, 45);
/* oklch */ color: oklch(64.8% 0.130 116.6);
Tailwind
colors: {
  custom: {
    50: '#afb66d',
    500: '#8a982d',
    950: '#000000',
  },
}
SCSS
$custom: #8a982d;
$custom-light: #afb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a982d",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 67.85,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64792,
    "c": 0.12984,
    "h": 116.6
  },
  "luminance": 0.28049
}

Semantic roles & 50–950 ramp

primary
#8A982D
secondary
#7166BA
accent
#4ADE5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A982D

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

Preview Lab → · Contrast checker → · Palette generator →

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