#999820#999820

#999820 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.133 H 109.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#999820
RGBrgb(153, 152, 32)
HSLhsl(60, 65%, 36%)
HSVhsv(60, 79%, 60%)
CMYKcmyk(0%, 0.7%, 79.1%, 40%)
CIE-LABlab(61.08, -13.46, 57.94)
CIE-LCHlch(61.08, 59.48, 103.08°)
OKLaboklab(65.98% -0.0435 0.1261)
OKLCHoklch(65.98% 0.133 109.1)
XYZxyz(24.6268, 29.3338, 5.7310)
Luminance0.2933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999820 #202199
analogous
#995C20 #999820 #5E9920
triadic
#999820 #209998 #982099
tetradic
#999820 #20995C #202199 #99205E
square
#999820 #20995C #202199 #99205E
split-complementary
#999820 #205E99 #5C2099
monochromatic
#34330B #666615 #999820 #CCCA2B #DCDB57

Accessibility & contrast

On white

3.06
#999820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#999820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999820
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999820#FFFFFF#000000##000000
##9998201.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A7952B
Tritanopia (blue-blind)
#A48E82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #999820;
/* rgb */ color: rgb(153, 152, 32);
/* oklch */ color: oklch(66.0% 0.133 109.1);
Tailwind
colors: {
  custom: {
    50: '#bbb667',
    500: '#999820',
    950: '#000000',
  },
}
SCSS
$custom: #999820;
$custom-light: #bbb667;
$custom-dark: #000000;
JSON
{
  "hex": "#999820",
  "rgb": {
    "r": 153,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 59.504,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65983,
    "c": 0.13338,
    "h": 109.1
  },
  "luminance": 0.29333
}

Semantic roles & 50–950 ramp

primary
#999820
secondary
#5556C0
accent
#41E83F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #999820

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

Preview Lab → · Contrast checker → · Palette generator →

#999820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva