#FDF188#FDF188

#FDF188 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.6% C 0.127 H 102.7°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#FDF188
RGBrgb(253, 241, 136)
HSLhsl(54, 97%, 76%)
HSVhsv(54, 46%, 99%)
CMYKcmyk(0%, 4.7%, 46.2%, 0.8%)
CIE-LABlab(94.13, -9.78, 51.86)
CIE-LCHlch(94.13, 52.78, 100.68°)
OKLaboklab(94.6% -0.0281 0.1242)
OKLCHoklch(94.6% 0.127 102.7)
XYZxyz(76.4091, 85.5732, 35.7801)
Luminance0.8557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF188 #8894FD
analogous
#FDB788 #FDF188 #CFFD88
triadic
#FDF188 #88FDF1 #F188FD
tetradic
#FDF188 #88FDB7 #8894FD #FD88CF
square
#FDF188 #88FDB7 #8894FD #FD88CF
split-complementary
#FDF188 #88CFFD #B788FD
monochromatic
#FBE310 #FCEA4C #FDF188 #FEF8C4 #FEFBE1

Accessibility & contrast

On white

1.16
#FDF188 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.11
#FDF188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF188
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF188#FFFFFF#000000##000000
##FDF1881.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7F
Deuteranopia (green-blind)
#FFF18D
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf188;
/* rgb */ color: rgb(253, 241, 136);
/* oklch */ color: oklch(94.6% 0.127 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff5ac',
    500: '#fdf188',
    950: '#000000',
  },
}
SCSS
$custom: #fdf188;
$custom-light: #fff5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf188",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 136
  },
  "hsl": {
    "h": 53.846,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.946,
    "c": 0.12729,
    "h": 102.7
  },
  "luminance": 0.85571
}

Semantic roles & 50–950 ramp

primary
#FDF188
secondary
#4D5BDD
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF188

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

Preview Lab → · Contrast checker → · Palette generator →

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