#999A21#999A21

#999A21 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.4% C 0.135 H 110.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#999A21
RGBrgb(153, 154, 33)
HSLhsl(60, 65%, 37%)
HSVhsv(60, 79%, 60%)
CMYKcmyk(0.6%, 0%, 78.6%, 39.6%)
CIE-LABlab(61.65, -14.47, 58.14)
CIE-LCHlch(61.65, 59.92, 103.98°)
OKLaboklab(66.44% -0.0463 0.1267)
OKLCHoklch(66.44% 0.135 110.1)
XYZxyz(24.9679, 29.9941, 5.9128)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999A21 #22219A
analogous
#9A5F21 #999A21 #5D9A21
triadic
#999A21 #21999A #9A2199
tetradic
#999A21 #219A5F #22219A #9A215D
square
#999A21 #219A5F #22219A #9A215D
split-complementary
#999A21 #215D9A #5F219A
monochromatic
#35350B #676816 #999A21 #CBCC2C #DBDC5A

Accessibility & contrast

On white

3.00
#999A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#999A21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999A21
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999A21#FFFFFF#000000##000000
##999A211.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A8972C
Tritanopia (blue-blind)
#A49084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #999a21;
/* rgb */ color: rgb(153, 154, 33);
/* oklch */ color: oklch(66.4% 0.135 110.1);
Tailwind
colors: {
  custom: {
    50: '#bbb768',
    500: '#999a21',
    950: '#000000',
  },
}
SCSS
$custom: #999a21;
$custom-light: #bbb768;
$custom-dark: #000000;
JSON
{
  "hex": "#999a21",
  "rgb": {
    "r": 153,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 60.496,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66443,
    "c": 0.13488,
    "h": 110.1
  },
  "luminance": 0.29993
}

Semantic roles & 50–950 ramp

primary
#999A21
secondary
#5857C0
accent
#40E841
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #999A21

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

Preview Lab → · Contrast checker → · Palette generator →

#999A21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva