#999B21#999B21

#999B21 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.7% C 0.136 H 110.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#999B21
RGBrgb(153, 155, 33)
HSLhsl(61, 65%, 37%)
HSVhsv(61, 79%, 61%)
CMYKcmyk(1.3%, 0%, 78.7%, 39.2%)
CIE-LABlab(61.93, -14.99, 58.40)
CIE-LCHlch(61.93, 60.29, 104.40°)
OKLaboklab(66.67% -0.0477 0.1272)
OKLCHoklch(66.67% 0.136 110.6)
XYZxyz(25.1336, 30.3255, 5.9680)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999B21 #23219B
analogous
#9B6021 #999B21 #5C9B21
triadic
#999B21 #21999B #9B2199
tetradic
#999B21 #219B60 #23219B #9B215C
square
#999B21 #219B60 #23219B #9B215C
split-complementary
#999B21 #215C9B #60219B
monochromatic
#35360C #676916 #999B21 #CBCD2C #DADC5A

Accessibility & contrast

On white

2.97
#999B21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#999B21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999B21
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999B21#FFFFFF#000000##000000
##999B211.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#A49185
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #999b21;
/* rgb */ color: rgb(153, 155, 33);
/* oklch */ color: oklch(66.7% 0.136 110.6);
Tailwind
colors: {
  custom: {
    50: '#bbb868',
    500: '#999b21',
    950: '#000000',
  },
}
SCSS
$custom: #999b21;
$custom-light: #bbb868;
$custom-dark: #000000;
JSON
{
  "hex": "#999b21",
  "rgb": {
    "r": 153,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 60.984,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66671,
    "c": 0.13589,
    "h": 110.6
  },
  "luminance": 0.30325
}

Semantic roles & 50–950 ramp

primary
#999B21
secondary
#5958C0
accent
#40E843
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #999B21

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

Preview Lab → · Contrast checker → · Palette generator →

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