#9A9724#9A9724

#9A9724 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.9% C 0.130 H 107.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9A9724
RGBrgb(154, 151, 36)
HSLhsl(58, 62%, 37%)
HSVhsv(58, 77%, 60%)
CMYKcmyk(0%, 1.9%, 76.6%, 39.6%)
CIE-LABlab(60.90, -12.33, 56.52)
CIE-LCHlch(60.90, 57.85, 102.31°)
OKLaboklab(65.87% -0.0401 0.1238)
OKLCHoklch(65.87% 0.13 107.9)
XYZxyz(24.7124, 29.1314, 5.9899)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9724 #24279A
analogous
#9A5C24 #9A9724 #629A24
triadic
#9A9724 #249A97 #97249A
tetradic
#9A9724 #249A5C #24279A #9A2462
square
#9A9724 #249A5C #24279A #9A2462
split-complementary
#9A9724 #24629A #5C249A
monochromatic
#37360D #686618 #9A9724 #CCC830 #DAD65F

Accessibility & contrast

On white

3.08
#9A9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#9A9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9724
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9724#FFFFFF#000000##000000
##9A97241.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49108
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#A68D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9a9724;
/* rgb */ color: rgb(154, 151, 36);
/* oklch */ color: oklch(65.9% 0.130 107.9);
Tailwind
colors: {
  custom: {
    50: '#bbb569',
    500: '#9a9724',
    950: '#000000',
  },
}
SCSS
$custom: #9a9724;
$custom-light: #bbb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9724",
  "rgb": {
    "r": 154,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 58.475,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65868,
    "c": 0.13009,
    "h": 107.9
  },
  "luminance": 0.29131
}

Semantic roles & 50–950 ramp

primary
#9A9724
secondary
#5B5EBF
accent
#47E543
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9724

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

Preview Lab → · Contrast checker → · Palette generator →

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