#8A9724#8A9724

#8A9724 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.134 H 116.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A9724
RGBrgb(138, 151, 36)
HSLhsl(67, 61%, 37%)
HSVhsv(67, 76%, 59%)
CMYKcmyk(8.6%, 0%, 76.2%, 40.8%)
CIE-LABlab(59.58, -19.42, 54.82)
CIE-LCHlch(59.58, 58.16, 109.51°)
OKLaboklab(64.49% -0.0589 0.1208)
OKLCHoklch(64.49% 0.134 116)
XYZxyz(21.8669, 27.6642, 5.8565)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9724 #312497
analogous
#976B24 #8A9724 #519724
triadic
#8A9724 #248A97 #97248A
tetradic
#8A9724 #24976B #312497 #972451
square
#8A9724 #24976B #312497 #972451
split-complementary
#8A9724 #245197 #6B2497
monochromatic
#30340C #5D6618 #8A9724 #B7C830 #CAD85D

Accessibility & contrast

On white

3.21
#8A9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8A9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9724
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9724#FFFFFF#000000##000000
##8A97241.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F09
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#938E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9724;
/* rgb */ color: rgb(138, 151, 36);
/* oklch */ color: oklch(64.5% 0.134 116.0);
Tailwind
colors: {
  custom: {
    50: '#afb568',
    500: '#8a9724',
    950: '#000000',
  },
}
SCSS
$custom: #8a9724;
$custom-light: #afb568;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9724",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 66.783,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64494,
    "c": 0.13437,
    "h": 116
  },
  "luminance": 0.27664
}

Semantic roles & 50–950 ramp

primary
#8A9724
secondary
#655ABD
accent
#43E555
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9724

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

Preview Lab → · Contrast checker → · Palette generator →

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