#8A9824#8A9824

#8A9824 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.136 H 116.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A9824
RGBrgb(138, 152, 36)
HSLhsl(67, 62%, 37%)
HSVhsv(67, 76%, 60%)
CMYKcmyk(9.2%, 0%, 76.3%, 40.4%)
CIE-LABlab(59.88, -19.93, 55.10)
CIE-LCHlch(59.88, 58.59, 109.89°)
OKLaboklab(64.73% -0.0603 0.1213)
OKLCHoklch(64.73% 0.136 116.4)
XYZxyz(22.0285, 27.9874, 5.9104)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9824 #322498
analogous
#986C24 #8A9824 #509824
triadic
#8A9824 #248A98 #98248A
tetradic
#8A9824 #24986C #322498 #982450
square
#8A9824 #24986C #322498 #982450
split-complementary
#8A9824 #245098 #6C2498
monochromatic
#30350D #5D6718 #8A9824 #B7C930 #CAD95E

Accessibility & contrast

On white

3.18
#8A9824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8A9824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9824
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9824#FFFFFF#000000##000000
##8A98241.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39008
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#938F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9824;
/* rgb */ color: rgb(138, 152, 36);
/* oklch */ color: oklch(64.7% 0.136 116.4);
Tailwind
colors: {
  custom: {
    50: '#afb668',
    500: '#8a9824',
    950: '#000000',
  },
}
SCSS
$custom: #8a9824;
$custom-light: #afb668;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9824",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 67.241,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6473,
    "c": 0.13551,
    "h": 116.4
  },
  "luminance": 0.27987
}

Semantic roles & 50–950 ramp

primary
#8A9824
secondary
#665ABE
accent
#43E557
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9824

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

Preview Lab → · Contrast checker → · Palette generator →

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