#8A982A#8A982A

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

Color values

HEX#8A982A
RGBrgb(138, 152, 42)
HSLhsl(68, 57%, 38%)
HSVhsv(68, 72%, 60%)
CMYKcmyk(9.2%, 0%, 72.4%, 40.4%)
CIE-LABlab(59.91, -19.62, 52.98)
CIE-LCHlch(59.91, 56.50, 110.32°)
OKLaboklab(64.77% -0.0589 0.118)
OKLCHoklch(64.77% 0.132 116.6)
XYZxyz(22.1279, 28.0272, 6.4341)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A982A #382A98
analogous
#986F2A #8A982A #53982A
triadic
#8A982A #2A8A98 #982A8A
tetradic
#8A982A #2A986F #382A98 #982A53
square
#8A982A #2A986F #382A98 #982A53
split-complementary
#8A982A #2A5398 #6F2A98
monochromatic
#333810 #5E681D #8A982A #B5C837 #C7D567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A982A#FFFFFF#000000##000000
##8A982A1.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)
#A39016
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#938F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a982a;
/* rgb */ color: rgb(138, 152, 42);
/* oklch */ color: oklch(64.8% 0.132 116.6);
Tailwind
colors: {
  custom: {
    50: '#afb66b',
    500: '#8a982a',
    950: '#000000',
  },
}
SCSS
$custom: #8a982a;
$custom-light: #afb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a982a",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 67.636,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6477,
    "c": 0.13186,
    "h": 116.6
  },
  "luminance": 0.28027
}

Semantic roles & 50–950 ramp

primary
#8A982A
secondary
#6E62BB
accent
#48E05B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A982A

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

Preview Lab → · Contrast checker → · Palette generator →

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