#999921#999921

#999921 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.2% C 0.134 H 109.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#999921
RGBrgb(153, 153, 33)
HSLhsl(60, 65%, 36%)
HSVhsv(60, 78%, 60%)
CMYKcmyk(0%, 0%, 78.4%, 40%)
CIE-LABlab(61.36, -13.95, 57.88)
CIE-LCHlch(61.36, 59.54, 103.55°)
OKLaboklab(66.22% -0.0448 0.1262)
OKLCHoklch(66.22% 0.134 109.6)
XYZxyz(24.8036, 29.6653, 5.8580)
Luminance0.2967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999921 #212199
analogous
#995D21 #999921 #5D9921
triadic
#999921 #219999 #992199
tetradic
#999921 #21995D #212199 #99215D
square
#999921 #21995D #212199 #99215D
split-complementary
#999921 #215D99 #5D2199
monochromatic
#34340B #676716 #999921 #CBCB2C #DBDB59

Accessibility & contrast

On white

3.03
#999921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#999921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999921
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999921#FFFFFF#000000##000000
##9999211.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #999921;
/* rgb */ color: rgb(153, 153, 33);
/* oklch */ color: oklch(66.2% 0.134 109.6);
Tailwind
colors: {
  custom: {
    50: '#bbb667',
    500: '#999921',
    950: '#000000',
  },
}
SCSS
$custom: #999921;
$custom-light: #bbb667;
$custom-dark: #000000;
JSON
{
  "hex": "#999921",
  "rgb": {
    "r": 153,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 60,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.13388,
    "h": 109.6
  },
  "luminance": 0.29665
}

Semantic roles & 50–950 ramp

primary
#999921
secondary
#5656BF
accent
#40E840
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #999921

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

Preview Lab → · Contrast checker → · Palette generator →

#999921 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva