#FFFD8E#FFFD8E

#FFFD8E is a very light, vivid yellow. Relative luminance 0.935; OKLCH L 97.3% C 0.134 H 107.7°. Best body text is #000000 at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#FFFD8E
RGBrgb(255, 253, 142)
HSLhsl(59, 100%, 78%)
HSVhsv(59, 44%, 100%)
CMYKcmyk(0%, 0.8%, 44.3%, 0%)
CIE-LABlab(97.42, -14.33, 53.09)
CIE-LCHlch(97.42, 54.99, 105.11°)
OKLaboklab(97.27% -0.0407 0.1273)
OKLCHoklch(97.27% 0.134 107.7)
XYZxyz(81.2494, 93.4655, 39.3465)
Luminance0.9346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD8E #8E90FF
analogous
#FFC48E #FFFD8E #C8FF8E
triadic
#FFFD8E #8EFFFD #FD8EFF
tetradic
#FFFD8E #8EFFC4 #8E90FF #FF8EC8
square
#FFFD8E #8EFFC4 #8E90FF #FF8EC8
split-complementary
#FFFD8E #8EC8FF #C48EFF
monochromatic
#FFFB14 #FFFC51 #FFFD8E #FFFECB #FFFEE0

Accessibility & contrast

On white

1.07
#FFFD8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.69
#FFFD8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD8E
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD8E#FFFFFF#000000##000000
##FFFD8E1.001.0719.6919.69
#FFFFFF1.071.0021.0021.00
#00000019.6921.001.001.00
##00000019.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF585
Deuteranopia (green-blind)
#FFFA93
Tritanopia (blue-blind)
#FFF1E3
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffd8e;
/* rgb */ color: rgb(255, 253, 142);
/* oklch */ color: oklch(97.3% 0.134 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffdb1',
    500: '#fffd8e',
    950: '#000000',
  },
}
SCSS
$custom: #fffd8e;
$custom-light: #fffdb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd8e",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 142
  },
  "hsl": {
    "h": 58.938,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.97273,
    "c": 0.13361,
    "h": 107.7
  },
  "luminance": 0.93464
}

Semantic roles & 50–950 ramp

primary
#FFFD8E
secondary
#5153E0
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFD8E

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

Preview Lab → · Contrast checker → · Palette generator →

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