#8A9916#8A9916

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

Color values

HEX#8A9916
RGBrgb(138, 153, 22)
HSLhsl(67, 75%, 34%)
HSVhsv(67, 86%, 60%)
CMYKcmyk(9.8%, 0%, 85.6%, 40%)
CIE-LABlab(60.11, -20.98, 59.36)
CIE-LCHlch(60.11, 62.96, 109.46°)
OKLaboklab(64.9% -0.0643 0.128)
OKLCHoklch(64.9% 0.143 116.7)
XYZxyz(22.0179, 28.2440, 5.0506)
Luminance0.2824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9916 #251699
analogous
#996716 #8A9916 #499916
triadic
#8A9916 #168A99 #99168A
tetradic
#8A9916 #169967 #251699 #991649
square
#8A9916 #169967 #251699 #991649
split-complementary
#8A9916 #164999 #671699
monochromatic
#292E07 #5A630E #8A9916 #BACF1E #D2E445

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9916#FFFFFF#000000##000000
##8A99161.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)
#A39225
Tritanopia (blue-blind)
#939082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9916;
/* rgb */ color: rgb(138, 153, 22);
/* oklch */ color: oklch(64.9% 0.143 116.7);
Tailwind
colors: {
  custom: {
    50: '#b0b663',
    500: '#8a9916',
    950: '#000000',
  },
}
SCSS
$custom: #8a9916;
$custom-light: #b0b663;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9916",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 66.87,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.64895,
    "c": 0.1432,
    "h": 116.7
  },
  "luminance": 0.28244
}

Semantic roles & 50–950 ramp

primary
#8A9916
secondary
#5446C5
accent
#36F14C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9916

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

Preview Lab → · Contrast checker → · Palette generator →

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