#8A9D16#8A9D16

#8A9D16 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.8% C 0.148 H 118.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A9D16
RGBrgb(138, 157, 22)
HSLhsl(68, 75%, 35%)
HSVhsv(68, 86%, 62%)
CMYKcmyk(12.1%, 0%, 86%, 38.4%)
CIE-LABlab(61.29, -22.99, 60.35)
CIE-LCHlch(61.29, 64.58, 110.85°)
OKLaboklab(65.84% -0.0698 0.1301)
OKLCHoklch(65.84% 0.148 118.2)
XYZxyz(22.6836, 29.5754, 5.2725)
Luminance0.2958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D16 #29169D
analogous
#9D6C16 #8A9D16 #479D16
triadic
#8A9D16 #168A9D #9D168A
tetradic
#8A9D16 #169D6C #29169D #9D1647
square
#8A9D16 #169D6C #29169D #9D1647
split-complementary
#8A9D16 #16479D #6C169D
monochromatic
#2C3207 #5B670E #8A9D16 #B9D31E #CFE548

Accessibility & contrast

On white

3.04
#8A9D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8A9D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D16
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D16#FFFFFF#000000##000000
##8A9D161.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A69426
Tritanopia (blue-blind)
#939486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d16;
/* rgb */ color: rgb(138, 157, 22);
/* oklch */ color: oklch(65.8% 0.148 118.2);
Tailwind
colors: {
  custom: {
    50: '#b0b963',
    500: '#8a9d16',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d16;
$custom-light: #b0b963;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d16",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 22
  },
  "hsl": {
    "h": 68.444,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65843,
    "c": 0.14765,
    "h": 118.2
  },
  "luminance": 0.29575
}

Semantic roles & 50–950 ramp

primary
#8A9D16
secondary
#5A48C7
accent
#36F250
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9D16

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

Preview Lab → · Contrast checker → · Palette generator →

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