#8A991A#8A991A

#8A991A is a light, vivid yellow. Relative luminance 0.283; OKLCH L 64.9% C 0.142 H 116.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A991A
RGBrgb(138, 153, 26)
HSLhsl(67, 71%, 35%)
HSVhsv(67, 83%, 60%)
CMYKcmyk(9.8%, 0%, 83%, 40%)
CIE-LABlab(60.12, -20.85, 58.36)
CIE-LCHlch(60.12, 61.97, 109.66°)
OKLaboklab(64.91% -0.0636 0.1265)
OKLCHoklch(64.91% 0.142 116.7)
XYZxyz(22.0595, 28.2606, 5.2698)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A991A #291A99
analogous
#99691A #8A991A #4A991A
triadic
#8A991A #1A8A99 #991A8A
tetradic
#8A991A #1A9969 #291A99 #991A4A
square
#8A991A #1A9969 #291A99 #991A4A
split-complementary
#8A991A #1A4A99 #691A99
monochromatic
#2C3008 #5B6511 #8A991A #B9CD23 #CFE14D

Accessibility & contrast

On white

3.16
#8A991A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8A991A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A991A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A991A#FFFFFF#000000##000000
##8A991A1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#939082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a991a;
/* rgb */ color: rgb(138, 153, 26);
/* oklch */ color: oklch(64.9% 0.142 116.7);
Tailwind
colors: {
  custom: {
    50: '#b0b664',
    500: '#8a991a',
    950: '#000000',
  },
}
SCSS
$custom: #8a991a;
$custom-light: #b0b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8a991a",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 26
  },
  "hsl": {
    "h": 67.087,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64912,
    "c": 0.14161,
    "h": 116.7
  },
  "luminance": 0.2826
}

Semantic roles & 50–950 ramp

primary
#8A991A
secondary
#5A4CC3
accent
#3AEE4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A991A

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

Preview Lab → · Contrast checker → · Palette generator →

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