#8A982C#8A982C

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

Color values

HEX#8A982C
RGBrgb(138, 152, 44)
HSLhsl(68, 55%, 38%)
HSVhsv(68, 71%, 60%)
CMYKcmyk(9.2%, 0%, 71.1%, 40.4%)
CIE-LABlab(59.93, -19.51, 52.24)
CIE-LCHlch(59.93, 55.76, 110.48°)
OKLaboklab(64.79% -0.0584 0.1167)
OKLCHoklch(64.79% 0.131 116.6)
XYZxyz(22.1646, 28.0419, 6.6274)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A982C #3A2C98
analogous
#98702C #8A982C #54982C
triadic
#8A982C #2C8A98 #982C8A
tetradic
#8A982C #2C9870 #3A2C98 #982C54
square
#8A982C #2C9870 #3A2C98 #982C54
split-complementary
#8A982C #2C5498 #702C98
monochromatic
#343911 #5F691E #8A982C #B4C63B #C6D46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A982C#FFFFFF#000000##000000
##8A982C1.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)
#A3901A
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#938F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a982c;
/* rgb */ color: rgb(138, 152, 44);
/* oklch */ color: oklch(64.8% 0.131 116.6);
Tailwind
colors: {
  custom: {
    50: '#afb66c',
    500: '#8a982c',
    950: '#000000',
  },
}
SCSS
$custom: #8a982c;
$custom-light: #afb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a982c",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 67.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64785,
    "c": 0.13052,
    "h": 116.6
  },
  "luminance": 0.28042
}

Semantic roles & 50–950 ramp

primary
#8A982C
secondary
#7065BB
accent
#49DE5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A982C

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

Preview Lab → · Contrast checker → · Palette generator →

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