#9A9720#9A9720

#9A9720 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.8% C 0.132 H 108.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9A9720
RGBrgb(154, 151, 32)
HSLhsl(59, 66%, 36%)
HSVhsv(59, 79%, 60%)
CMYKcmyk(0%, 1.9%, 79.2%, 39.6%)
CIE-LABlab(60.88, -12.49, 57.79)
CIE-LCHlch(60.88, 59.13, 102.20°)
OKLaboklab(65.85% -0.0409 0.1257)
OKLCHoklch(65.85% 0.132 108)
XYZxyz(24.6547, 29.1084, 5.6860)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9720 #20239A
analogous
#9A5A20 #9A9720 #609A20
triadic
#9A9720 #209A97 #97209A
tetradic
#9A9720 #209A5A #20239A #9A2060
square
#9A9720 #209A5A #20239A #9A2060
split-complementary
#9A9720 #20609A #5A209A
monochromatic
#35340B #676515 #9A9720 #CDC92B #DCD958

Accessibility & contrast

On white

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

On black

6.82
#9A9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9720
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9720#FFFFFF#000000##000000
##9A97201.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a9720;
/* rgb */ color: rgb(154, 151, 32);
/* oklch */ color: oklch(65.8% 0.132 108.0);
Tailwind
colors: {
  custom: {
    50: '#bbb567',
    500: '#9a9720',
    950: '#000000',
  },
}
SCSS
$custom: #9a9720;
$custom-light: #bbb567;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9720",
  "rgb": {
    "r": 154,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 58.525,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65846,
    "c": 0.13219,
    "h": 108
  },
  "luminance": 0.29108
}

Semantic roles & 50–950 ramp

primary
#9A9720
secondary
#5658C0
accent
#43E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9A9720

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

Preview Lab → · Contrast checker → · Palette generator →

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