#FFFF8D#FFFF8D

#FFFF8D is a very light, vivid yellow. Relative luminance 0.947; OKLCH L 97.7% C 0.137 H 108.7°. Best body text is #000000 at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#FFFF8D
RGBrgb(255, 255, 141)
HSLhsl(60, 100%, 78%)
HSVhsv(60, 45%, 100%)
CMYKcmyk(0%, 0%, 44.7%, 0%)
CIE-LABlab(97.92, -15.40, 54.17)
CIE-LCHlch(97.92, 56.32, 105.87°)
OKLaboklab(97.67% -0.0438 0.1296)
OKLCHoklch(97.67% 0.137 108.7)
XYZxyz(81.8093, 94.7049, 39.1645)
Luminance0.9470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF8D #8D8DFF
analogous
#FFC68D #FFFF8D #C6FF8D
triadic
#FFFF8D #8DFFFF #FF8DFF
tetradic
#FFFF8D #8DFFC6 #8D8DFF #FF8DC6
square
#FFFF8D #8DFFC6 #8D8DFF #FF8DC6
split-complementary
#FFFF8D #8DC6FF #C68DFF
monochromatic
#FFFF13 #FFFF50 #FFFF8D #FFFFCA #FFFFE0

Accessibility & contrast

On white

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

On black

19.94
#FFFF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF8D
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF8D#FFFFFF#000000##000000
##FFFF8D1.001.0519.9419.94
#FFFFFF1.051.0021.0021.00
#00000019.9421.001.001.00
##00000019.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF783
Deuteranopia (green-blind)
#FFFB92
Tritanopia (blue-blind)
#FFF2E4
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #ffff8d;
/* rgb */ color: rgb(255, 255, 141);
/* oklch */ color: oklch(97.7% 0.137 108.7);
Tailwind
colors: {
  custom: {
    50: '#ffffb0',
    500: '#ffff8d',
    950: '#000000',
  },
}
SCSS
$custom: #ffff8d;
$custom-light: #ffffb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff8d",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.97666,
    "c": 0.13679,
    "h": 108.7
  },
  "luminance": 0.94703
}

Semantic roles & 50–950 ramp

primary
#FFFF8D
secondary
#5050E0
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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