#999D21#999D21

#999D21 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.138 H 111.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#999D21
RGBrgb(153, 157, 33)
HSLhsl(62, 65%, 37%)
HSVhsv(62, 79%, 62%)
CMYKcmyk(2.5%, 0%, 79%, 38.4%)
CIE-LABlab(62.50, -16.03, 58.91)
CIE-LCHlch(62.50, 61.05, 105.22°)
OKLaboklab(67.13% -0.0506 0.1283)
OKLCHoklch(67.13% 0.138 111.5)
XYZxyz(25.4692, 30.9967, 6.0799)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999D21 #25219D
analogous
#9D6321 #999D21 #5B9D21
triadic
#999D21 #21999D #9D2199
tetradic
#999D21 #219D63 #25219D #9D215B
square
#999D21 #219D63 #25219D #9D215B
split-complementary
#999D21 #215B9D #63219D
monochromatic
#36380C #686A16 #999D21 #CAD02C #D9DD5C

Accessibility & contrast

On white

2.92
#999D21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#999D21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999D21
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999D21#FFFFFF#000000##000000
##999D211.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA992C
Tritanopia (blue-blind)
#A49386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #999d21;
/* rgb */ color: rgb(153, 157, 33);
/* oklch */ color: oklch(67.1% 0.138 111.5);
Tailwind
colors: {
  custom: {
    50: '#bbb968',
    500: '#999d21',
    950: '#000000',
  },
}
SCSS
$custom: #999d21;
$custom-light: #bbb968;
$custom-dark: #000000;
JSON
{
  "hex": "#999d21",
  "rgb": {
    "r": 153,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 61.935,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67127,
    "c": 0.13796,
    "h": 111.5
  },
  "luminance": 0.30996
}

Semantic roles & 50–950 ramp

primary
#999D21
secondary
#5C59C1
accent
#40E845
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #999D21

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

Preview Lab → · Contrast checker → · Palette generator →

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