#8A982F#8A982F

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

Color values

HEX#8A982F
RGBrgb(138, 152, 47)
HSLhsl(68, 53%, 39%)
HSVhsv(68, 69%, 60%)
CMYKcmyk(9.2%, 0%, 69.1%, 40.4%)
CIE-LABlab(59.95, -19.33, 51.07)
CIE-LCHlch(59.95, 54.61, 110.73°)
OKLaboklab(64.81% -0.0576 0.1148)
OKLCHoklch(64.81% 0.128 116.7)
XYZxyz(22.2231, 28.0653, 6.9352)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A982F #3D2F98
analogous
#98722F #8A982F #56982F
triadic
#8A982F #2F8A98 #982F8A
tetradic
#8A982F #2F9872 #3D2F98 #982F56
square
#8A982F #2F9872 #3D2F98 #982F56
split-complementary
#8A982F #2F5698 #722F98
monochromatic
#353B12 #606921 #8A982F #B2C440 #C5D26F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A982F#FFFFFF#000000##000000
##8A982F1.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)
#A2901F
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#938F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a982f;
/* rgb */ color: rgb(138, 152, 47);
/* oklch */ color: oklch(64.8% 0.128 116.7);
Tailwind
colors: {
  custom: {
    50: '#afb66e',
    500: '#8a982f',
    950: '#000000',
  },
}
SCSS
$custom: #8a982f;
$custom-light: #afb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a982f",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 68,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64808,
    "c": 0.12843,
    "h": 116.7
  },
  "luminance": 0.28065
}

Semantic roles & 50–950 ramp

primary
#8A982F
secondary
#7469BA
accent
#4CDC5F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A982F

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

Preview Lab → · Contrast checker → · Palette generator →

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