#8A982B#8A982B

#8A982B 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#8A982B
RGBrgb(138, 152, 43)
HSLhsl(68, 56%, 38%)
HSVhsv(68, 72%, 60%)
CMYKcmyk(9.2%, 0%, 71.7%, 40.4%)
CIE-LABlab(59.92, -19.57, 52.61)
CIE-LCHlch(59.92, 56.13, 110.40°)
OKLaboklab(64.78% -0.0587 0.1173)
OKLCHoklch(64.78% 0.131 116.6)
XYZxyz(22.1460, 28.0345, 6.5296)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A982B #392B98
analogous
#986F2B #8A982B #54982B
triadic
#8A982B #2B8A98 #982B8A
tetradic
#8A982B #2B986F #392B98 #982B54
square
#8A982B #2B986F #392B98 #982B54
split-complementary
#8A982B #2B5498 #6F2B98
monochromatic
#333910 #5F681E #8A982B #B5C739 #C7D569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8a982b;
/* rgb */ color: rgb(138, 152, 43);
/* oklch */ color: oklch(64.8% 0.131 116.6);
Tailwind
colors: {
  custom: {
    50: '#afb66c',
    500: '#8a982b',
    950: '#000000',
  },
}
SCSS
$custom: #8a982b;
$custom-light: #afb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a982b",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 67.706,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64777,
    "c": 0.1312,
    "h": 116.6
  },
  "luminance": 0.28034
}

Semantic roles & 50–950 ramp

primary
#8A982B
secondary
#6F64BB
accent
#49DF5C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A982B

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

Preview Lab → · Contrast checker → · Palette generator →

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