#999E21#999E21

#999E21 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.4% C 0.139 H 112.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#999E21
RGBrgb(153, 158, 33)
HSLhsl(62, 65%, 37%)
HSVhsv(62, 79%, 62%)
CMYKcmyk(3.2%, 0%, 79.1%, 38%)
CIE-LABlab(62.79, -16.55, 59.17)
CIE-LCHlch(62.79, 61.44, 105.63°)
OKLaboklab(67.36% -0.052 0.1289)
OKLCHoklch(67.36% 0.139 112)
XYZxyz(25.6391, 31.3365, 6.1365)
Luminance0.3134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999E21 #26219E
analogous
#9E6521 #999E21 #5B9E21
triadic
#999E21 #21999E #9E2199
tetradic
#999E21 #219E65 #26219E #9E215B
square
#999E21 #219E65 #26219E #9E215B
split-complementary
#999E21 #215B9E #65219E
monochromatic
#37390C #686B16 #999E21 #CAD12C #D8DD5C

Accessibility & contrast

On white

2.89
#999E21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#999E21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999E21
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999E21#FFFFFF#000000##000000
##999E211.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#A49487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #999e21;
/* rgb */ color: rgb(153, 158, 33);
/* oklch */ color: oklch(67.4% 0.139 112.0);
Tailwind
colors: {
  custom: {
    50: '#bbba68',
    500: '#999e21',
    950: '#000000',
  },
}
SCSS
$custom: #999e21;
$custom-light: #bbba68;
$custom-dark: #000000;
JSON
{
  "hex": "#999e21",
  "rgb": {
    "r": 153,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 62.4,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67356,
    "c": 0.13899,
    "h": 112
  },
  "luminance": 0.31336
}

Semantic roles & 50–950 ramp

primary
#999E21
secondary
#5E59C1
accent
#3FE846
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #999E21

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

Preview Lab → · Contrast checker → · Palette generator →

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