#FFFF9D#FFFF9D

#FFFF9D is a very light, vivid yellow. Relative luminance 0.952; OKLCH L 97.9% C 0.120 H 108.4°. Best body text is #000000 at 20.04:1 contrast (WCAG AA passes).

Color values

HEX#FFFF9D
RGBrgb(255, 255, 157)
HSLhsl(60, 100%, 81%)
HSVhsv(60, 38%, 100%)
CMYKcmyk(0%, 0%, 38.4%, 0%)
CIE-LABlab(98.12, -13.82, 46.80)
CIE-LCHlch(98.12, 48.80, 106.45°)
OKLaboklab(97.9% -0.038 0.114)
OKLCHoklch(97.9% 0.12 108.4)
XYZxyz(83.0869, 95.2160, 45.8934)
Luminance0.9521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF9D #9D9DFF
analogous
#FFCE9D #FFFF9D #CEFF9D
triadic
#FFFF9D #9DFFFF #FF9DFF
tetradic
#FFFF9D #9DFFCE #9D9DFF #FF9DCE
square
#FFFF9D #9DFFCE #9D9DFF #FF9DCE
split-complementary
#FFFF9D #9DCEFF #CE9DFF
monochromatic
#FFFF23 #FFFF60 #FFFF9D #FFFFDA #FFFFE0

Accessibility & contrast

On white

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

On black

20.04
#FFFF9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF9D
20.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF9D#FFFFFF#000000##000000
##FFFF9D1.001.0520.0420.04
#FFFFFF1.051.0021.0021.00
#00000020.0421.001.001.00
##00000020.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF795
Deuteranopia (green-blind)
#FFFBA1
Tritanopia (blue-blind)
#FFF4E7
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #ffff9d;
/* rgb */ color: rgb(255, 255, 157);
/* oklch */ color: oklch(97.9% 0.120 108.4);
Tailwind
colors: {
  custom: {
    50: '#ffffbb',
    500: '#ffff9d',
    950: '#000000',
  },
}
SCSS
$custom: #ffff9d;
$custom-light: #ffffbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff9d",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 157
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.97895,
    "c": 0.12017,
    "h": 108.4
  },
  "luminance": 0.95214
}

Semantic roles & 50–950 ramp

primary
#FFFF9D
secondary
#5E5EE3
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFF9D

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

Preview Lab → · Contrast checker → · Palette generator →

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