#8A9928#8A9928

#8A9928 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.134 H 116.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A9928
RGBrgb(138, 153, 40)
HSLhsl(68, 59%, 38%)
HSVhsv(68, 74%, 60%)
CMYKcmyk(9.8%, 0%, 73.9%, 40%)
CIE-LABlab(60.19, -20.24, 53.99)
CIE-LCHlch(60.19, 57.66, 110.55°)
OKLaboklab(64.99% -0.0608 0.1197)
OKLCHoklch(64.99% 0.134 116.9)
XYZxyz(22.2560, 28.3392, 6.3046)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9928 #372899
analogous
#997028 #8A9928 #519928
triadic
#8A9928 #288A99 #99288A
tetradic
#8A9928 #289970 #372899 #992851
square
#8A9928 #289970 #372899 #992851
split-complementary
#8A9928 #285199 #702899
monochromatic
#32380F #5E681B #8A9928 #B6CA35 #C8D765

Accessibility & contrast

On white

3.15
#8A9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8A9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9928
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9928#FFFFFF#000000##000000
##8A99281.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49112
Deuteranopia (green-blind)
#A29231
Tritanopia (blue-blind)
#939083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9928;
/* rgb */ color: rgb(138, 153, 40);
/* oklch */ color: oklch(65.0% 0.134 116.9);
Tailwind
colors: {
  custom: {
    50: '#afb76a',
    500: '#8a9928',
    950: '#000000',
  },
}
SCSS
$custom: #8a9928;
$custom-light: #afb76a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9928",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 67.965,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64991,
    "c": 0.1343,
    "h": 116.9
  },
  "luminance": 0.28339
}

Semantic roles & 50–950 ramp

primary
#8A9928
secondary
#6D60BD
accent
#46E25B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9928

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

Preview Lab → · Contrast checker → · Palette generator →

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