#8A981E#8A981E

#8A981E is a light, vivid yellow. Relative luminance 0.280; 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#8A981E
RGBrgb(138, 152, 30)
HSLhsl(67, 67%, 36%)
HSVhsv(67, 80%, 60%)
CMYKcmyk(9.2%, 0%, 80.3%, 40.4%)
CIE-LABlab(59.85, -20.19, 56.98)
CIE-LCHlch(59.85, 60.46, 109.51°)
OKLaboklab(64.7% -0.0615 0.1243)
OKLCHoklch(64.7% 0.139 116.3)
XYZxyz(21.9444, 27.9538, 5.4677)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A981E #2C1E98
analogous
#98691E #8A981E #4D981E
triadic
#8A981E #1E8A98 #981E8A
tetradic
#8A981E #1E9869 #2C1E98 #981E4D
square
#8A981E #1E9869 #2C1E98 #981E4D
split-complementary
#8A981E #1E4D98 #691E98
monochromatic
#2D320A #5C6514 #8A981E #B8CB28 #CDDD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A981E#FFFFFF#000000##000000
##8A981E1.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)
#A2912A
Tritanopia (blue-blind)
#938F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a981e;
/* rgb */ color: rgb(138, 152, 30);
/* oklch */ color: oklch(64.7% 0.139 116.3);
Tailwind
colors: {
  custom: {
    50: '#b0b666',
    500: '#8a981e',
    950: '#000000',
  },
}
SCSS
$custom: #8a981e;
$custom-light: #b0b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8a981e",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 66.885,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64695,
    "c": 0.13868,
    "h": 116.3
  },
  "luminance": 0.27953
}

Semantic roles & 50–950 ramp

primary
#8A981E
secondary
#5E51C0
accent
#3EEA52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A981E

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

Preview Lab → · Contrast checker → · Palette generator →

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