#9A9920#9A9920

#9A9920 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.134 H 109.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9A9920
RGBrgb(154, 153, 32)
HSLhsl(60, 66%, 36%)
HSVhsv(60, 79%, 60%)
CMYKcmyk(0%, 0.6%, 79.2%, 39.6%)
CIE-LABlab(61.44, -13.54, 58.30)
CIE-LCHlch(61.44, 59.85, 103.08°)
OKLaboklab(66.3% -0.0438 0.1268)
OKLCHoklch(66.3% 0.134 109.1)
XYZxyz(24.9793, 29.7576, 5.7942)
Luminance0.2976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9920 #20219A
analogous
#9A5C20 #9A9920 #5E9A20
triadic
#9A9920 #209A99 #99209A
tetradic
#9A9920 #209A5C #20219A #9A205E
square
#9A9920 #209A5C #20219A #9A205E
split-complementary
#9A9920 #205E9A #5C209A
monochromatic
#35340B #676715 #9A9920 #CDCB2B #DCDB58

Accessibility & contrast

On white

3.02
#9A9920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#9A9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9920
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9920#FFFFFF#000000##000000
##9A99201.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A8962B
Tritanopia (blue-blind)
#A58F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9a9920;
/* rgb */ color: rgb(154, 153, 32);
/* oklch */ color: oklch(66.3% 0.134 109.1);
Tailwind
colors: {
  custom: {
    50: '#bbb667',
    500: '#9a9920',
    950: '#000000',
  },
}
SCSS
$custom: #9a9920;
$custom-light: #bbb667;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9920",
  "rgb": {
    "r": 154,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 59.508,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66298,
    "c": 0.13416,
    "h": 109.1
  },
  "luminance": 0.29757
}

Semantic roles & 50–950 ramp

primary
#9A9920
secondary
#5656C0
accent
#41E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9920

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

Preview Lab → · Contrast checker → · Palette generator →

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