#8A981D#8A981D

#8A981D is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.139 H 116.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8A981D
RGBrgb(138, 152, 29)
HSLhsl(67, 68%, 35%)
HSVhsv(67, 81%, 60%)
CMYKcmyk(9.2%, 0%, 80.9%, 40.4%)
CIE-LABlab(59.84, -20.23, 57.28)
CIE-LCHlch(59.84, 60.74, 109.45°)
OKLaboklab(64.69% -0.0617 0.1247)
OKLCHoklch(64.69% 0.139 116.3)
XYZxyz(21.9318, 27.9488, 5.4015)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A981D #2B1D98
analogous
#98681D #8A981D #4D981D
triadic
#8A981D #1D8A98 #981D8A
tetradic
#8A981D #1D9868 #2B1D98 #981D4D
square
#8A981D #1D9868 #2B1D98 #981D4D
split-complementary
#8A981D #1D4D98 #681D98
monochromatic
#2D3109 #5B6513 #8A981D #B9CB27 #CEDE52

Accessibility & contrast

On white

3.19
#8A981D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8A981D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A981D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A981D#FFFFFF#000000##000000
##8A981D1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#938F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a981d;
/* rgb */ color: rgb(138, 152, 29);
/* oklch */ color: oklch(64.7% 0.139 116.3);
Tailwind
colors: {
  custom: {
    50: '#b0b665',
    500: '#8a981d',
    950: '#000000',
  },
}
SCSS
$custom: #8a981d;
$custom-light: #b0b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8a981d",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 66.829,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6469,
    "c": 0.13915,
    "h": 116.3
  },
  "luminance": 0.27948
}

Semantic roles & 50–950 ramp

primary
#8A981D
secondary
#5D50C1
accent
#3DEB51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A981D

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

Preview Lab → · Contrast checker → · Palette generator →

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