#FFFF99#FFFF99

#FFFF99 is a very light, vivid yellow. Relative luminance 0.951; OKLCH L 97.8% C 0.124 H 108.5°. Best body text is #000000 at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#FFFF99
RGBrgb(255, 255, 153)
HSLhsl(60, 100%, 80%)
HSVhsv(60, 40%, 100%)
CMYKcmyk(0%, 0%, 40%, 0%)
CIE-LABlab(98.07, -14.23, 48.66)
CIE-LCHlch(98.07, 50.70, 106.30°)
OKLaboklab(97.84% -0.0395 0.118)
OKLCHoklch(97.84% 0.124 108.5)
XYZxyz(82.7510, 95.0816, 44.1242)
Luminance0.9508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF99 #9999FF
analogous
#FFCC99 #FFFF99 #CCFF99
triadic
#FFFF99 #99FFFF #FF99FF
tetradic
#FFFF99 #99FFCC #9999FF #FF99CC
square
#FFFF99 #99FFCC #9999FF #FF99CC
split-complementary
#FFFF99 #99CCFF #CC99FF
monochromatic
#FFFF1F #FFFF5C #FFFF99 #FFFFD6 #FFFFE0

Accessibility & contrast

On white

1.05
#FFFF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.02
#FFFF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF99
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF99#FFFFFF#000000##000000
##FFFF991.001.0520.0220.02
#FFFFFF1.051.0021.0021.00
#00000020.0221.001.001.00
##00000020.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF791
Deuteranopia (green-blind)
#FFFB9E
Tritanopia (blue-blind)
#FFF3E6
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #ffff99;
/* rgb */ color: rgb(255, 255, 153);
/* oklch */ color: oklch(97.8% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#ffffb8',
    500: '#ffff99',
    950: '#000000',
  },
}
SCSS
$custom: #ffff99;
$custom-light: #ffffb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff99",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.97835,
    "c": 0.12444,
    "h": 108.5
  },
  "luminance": 0.9508
}

Semantic roles & 50–950 ramp

primary
#FFFF99
secondary
#5A5AE2
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFF99

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

Preview Lab → · Contrast checker → · Palette generator →

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