#8A982E#8A982E

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

Color values

HEX#8A982E
RGBrgb(138, 152, 46)
HSLhsl(68, 54%, 39%)
HSVhsv(68, 70%, 60%)
CMYKcmyk(9.2%, 0%, 69.7%, 40.4%)
CIE-LABlab(59.94, -19.39, 51.46)
CIE-LCHlch(59.94, 55.00, 110.65°)
OKLaboklab(64.8% -0.0579 0.1154)
OKLCHoklch(64.8% 0.129 116.6)
XYZxyz(22.2031, 28.0573, 6.8302)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A982E #3C2E98
analogous
#98712E #8A982E #55982E
triadic
#8A982E #2E8A98 #982E8A
tetradic
#8A982E #2E9871 #3C2E98 #982E55
square
#8A982E #2E9871 #3C2E98 #982E55
split-complementary
#8A982E #2E5598 #712E98
monochromatic
#353A12 #5F6920 #8A982E #B3C53E #C6D36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A982E#FFFFFF#000000##000000
##8A982E1.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)
#A2901E
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#938F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a982e;
/* rgb */ color: rgb(138, 152, 46);
/* oklch */ color: oklch(64.8% 0.129 116.6);
Tailwind
colors: {
  custom: {
    50: '#afb66d',
    500: '#8a982e',
    950: '#000000',
  },
}
SCSS
$custom: #8a982e;
$custom-light: #afb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a982e",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 67.925,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.648,
    "c": 0.12914,
    "h": 116.6
  },
  "luminance": 0.28057
}

Semantic roles & 50–950 ramp

primary
#8A982E
secondary
#7368BA
accent
#4BDD5E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A982E

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

Preview Lab → · Contrast checker → · Palette generator →

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