#8A9924#8A9924

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

Color values

HEX#8A9924
RGBrgb(138, 153, 36)
HSLhsl(68, 62%, 37%)
HSVhsv(68, 76%, 60%)
CMYKcmyk(9.8%, 0%, 76.5%, 40%)
CIE-LABlab(60.17, -20.44, 55.37)
CIE-LCHlch(60.17, 59.02, 110.26°)
OKLaboklab(64.96% -0.0617 0.1219)
OKLCHoklch(64.96% 0.137 116.9)
XYZxyz(22.1915, 28.3134, 5.9647)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9924 #332499
analogous
#996D24 #8A9924 #509924
triadic
#8A9924 #248A99 #99248A
tetradic
#8A9924 #24996D #332499 #992450
square
#8A9924 #24996D #332499 #992450
split-complementary
#8A9924 #245099 #6D2499
monochromatic
#31360D #5D6718 #8A9924 #B7CB30 #C9D95E

Accessibility & contrast

On white

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

On black

6.66
#8A9924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9924
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9924#FFFFFF#000000##000000
##8A99241.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9924;
/* rgb */ color: rgb(138, 153, 36);
/* oklch */ color: oklch(65.0% 0.137 116.9);
Tailwind
colors: {
  custom: {
    50: '#afb768',
    500: '#8a9924',
    950: '#000000',
  },
}
SCSS
$custom: #8a9924;
$custom-light: #afb768;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9924",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 67.692,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64965,
    "c": 0.13667,
    "h": 116.9
  },
  "luminance": 0.28313
}

Semantic roles & 50–950 ramp

primary
#8A9924
secondary
#675BBE
accent
#43E558
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9924

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

Preview Lab → · Contrast checker → · Palette generator →

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