#999F21#999F21

#999F21 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.6% C 0.140 H 112.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#999F21
RGBrgb(153, 159, 33)
HSLhsl(63, 66%, 38%)
HSVhsv(63, 79%, 62%)
CMYKcmyk(3.8%, 0%, 79.2%, 37.6%)
CIE-LABlab(63.08, -17.06, 59.42)
CIE-LCHlch(63.08, 61.82, 106.02°)
OKLaboklab(67.58% -0.0535 0.1294)
OKLCHoklch(67.58% 0.14 112.4)
XYZxyz(25.8104, 31.6790, 6.1936)
Luminance0.3168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999F21 #27219F
analogous
#9F6621 #999F21 #5A9F21
triadic
#999F21 #21999F #9F2199
tetradic
#999F21 #219F66 #27219F #9F215A
square
#999F21 #219F66 #27219F #9F215A
split-complementary
#999F21 #215A9F #66219F
monochromatic
#373A0C #686C16 #999F21 #CAD22C #D7DD5D

Accessibility & contrast

On white

2.86
#999F21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#999F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999F21
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999F21#FFFFFF#000000##000000
##999F211.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#A49588
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #999f21;
/* rgb */ color: rgb(153, 159, 33);
/* oklch */ color: oklch(67.6% 0.140 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbb68',
    500: '#999f21',
    950: '#000000',
  },
}
SCSS
$custom: #999f21;
$custom-light: #bbbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#999f21",
  "rgb": {
    "r": 153,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 62.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67585,
    "c": 0.14004,
    "h": 112.4
  },
  "luminance": 0.31678
}

Semantic roles & 50–950 ramp

primary
#999F21
secondary
#5F5AC2
accent
#3FE947
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #999F21

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

Preview Lab → · Contrast checker → · Palette generator →

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