#FDF88E#FDF88E

#FDF88E is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.1% C 0.128 H 106.2°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FDF88E
RGBrgb(253, 248, 142)
HSLhsl(57, 97%, 77%)
HSVhsv(57, 44%, 99%)
CMYKcmyk(0%, 2%, 43.9%, 0.8%)
CIE-LABlab(95.99, -12.67, 51.29)
CIE-LCHlch(95.99, 52.83, 103.87°)
OKLaboklab(96.1% -0.0358 0.1233)
OKLCHoklch(96.1% 0.128 106.2)
XYZxyz(78.9595, 89.9724, 38.7930)
Luminance0.8997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF88E #8E93FD
analogous
#FDC08E #FDF88E #CBFD8E
triadic
#FDF88E #8EFDF8 #F88EFD
tetradic
#FDF88E #8EFDC0 #8E93FD #FD8ECB
square
#FDF88E #8EFDC0 #8E93FD #FD8ECB
split-complementary
#FDF88E #8ECBFD #C08EFD
monochromatic
#FBF116 #FCF452 #FDF88E #FEFCCA #FEFDE1

Accessibility & contrast

On white

1.11
#FDF88E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.99
#FDF88E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF88E
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF88E#FFFFFF#000000##000000
##FDF88E1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF185
Deuteranopia (green-blind)
#FFF693
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf88e;
/* rgb */ color: rgb(253, 248, 142);
/* oklch */ color: oklch(96.1% 0.128 106.2);
Tailwind
colors: {
  custom: {
    50: '#fffab1',
    500: '#fdf88e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf88e;
$custom-light: #fffab1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf88e",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 142
  },
  "hsl": {
    "h": 57.297,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.96098,
    "c": 0.12838,
    "h": 106.2
  },
  "luminance": 0.8997
}

Semantic roles & 50–950 ramp

primary
#FDF88E
secondary
#5258DD
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF88E

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

Preview Lab → · Contrast checker → · Palette generator →

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