#FDF088#FDF088

#FDF088 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.4% C 0.126 H 102.2°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FDF088
RGBrgb(253, 240, 136)
HSLhsl(53, 97%, 76%)
HSVhsv(53, 46%, 99%)
CMYKcmyk(0%, 5.1%, 46.2%, 0.8%)
CIE-LABlab(93.88, -9.29, 51.55)
CIE-LCHlch(93.88, 52.38, 100.21°)
OKLaboklab(94.4% -0.0267 0.1235)
OKLCHoklch(94.4% 0.126 102.2)
XYZxyz(76.1140, 84.9828, 35.6817)
Luminance0.8498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF088 #8895FD
analogous
#FDB688 #FDF088 #D0FD88
triadic
#FDF088 #88FDF0 #F088FD
tetradic
#FDF088 #88FDB6 #8895FD #FD88D0
square
#FDF088 #88FDB6 #8895FD #FD88D0
split-complementary
#FDF088 #88D0FD #B688FD
monochromatic
#FBE110 #FCE84C #FDF088 #FEF8C4 #FEFBE1

Accessibility & contrast

On white

1.17
#FDF088 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#FDF088 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF088
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF088#FFFFFF#000000##000000
##FDF0881.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7F
Deuteranopia (green-blind)
#FFF08D
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf088;
/* rgb */ color: rgb(253, 240, 136);
/* oklch */ color: oklch(94.4% 0.126 102.2);
Tailwind
colors: {
  custom: {
    50: '#fff4ac',
    500: '#fdf088',
    950: '#000000',
  },
}
SCSS
$custom: #fdf088;
$custom-light: #fff4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf088",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 136
  },
  "hsl": {
    "h": 53.333,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.94399,
    "c": 0.12631,
    "h": 102.2
  },
  "luminance": 0.8498
}

Semantic roles & 50–950 ramp

primary
#FDF088
secondary
#4D5DDD
accent
#1AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF088

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

Preview Lab → · Contrast checker → · Palette generator →

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