#FDF89C#FDF89C

#FDF89C is a very light, moderate yellow. Relative luminance 0.904; OKLCH L 96.3% C 0.114 H 105.7°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#FDF89C
RGBrgb(253, 248, 156)
HSLhsl(57, 96%, 80%)
HSVhsv(57, 38%, 99%)
CMYKcmyk(0%, 2%, 38.3%, 0.8%)
CIE-LABlab(96.17, -11.26, 44.78)
CIE-LCHlch(96.17, 46.17, 104.11°)
OKLaboklab(96.31% -0.0306 0.1094)
OKLCHoklch(96.31% 0.114 105.7)
XYZxyz(80.0774, 90.4196, 44.6805)
Luminance0.9042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF89C #9CA1FD
analogous
#FDC79C #FDF89C #D2FD9C
triadic
#FDF89C #9CFDF8 #F89CFD
tetradic
#FDF89C #9CFDC7 #9CA1FD #FD9CD2
square
#FDF89C #9CFDC7 #9CA1FD #FD9CD2
split-complementary
#FDF89C #9CD2FD #C79CFD
monochromatic
#FBF024 #FCF460 #FDF89C #FEFCD8 #FEFDE1

Accessibility & contrast

On white

1.10
#FDF89C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.08
#FDF89C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF89C
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF89C#FFFFFF#000000##000000
##FDF89C1.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF195
Deuteranopia (green-blind)
#FFF6A0
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf89c;
/* rgb */ color: rgb(253, 248, 156);
/* oklch */ color: oklch(96.3% 0.114 105.7);
Tailwind
colors: {
  custom: {
    50: '#fffaba',
    500: '#fdf89c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf89c;
$custom-light: #fffaba;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf89c",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 156
  },
  "hsl": {
    "h": 56.907,
    "s": 96.04,
    "l": 80.196
  },
  "oklch": {
    "l": 0.96305,
    "c": 0.11357,
    "h": 105.7
  },
  "luminance": 0.90418
}

Semantic roles & 50–950 ramp

primary
#FDF89C
secondary
#5E64DF
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF89C

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

Preview Lab → · Contrast checker → · Palette generator →

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