#FDF89A#FDF89A

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

Color values

HEX#FDF89A
RGBrgb(253, 248, 154)
HSLhsl(57, 96%, 80%)
HSVhsv(57, 39%, 99%)
CMYKcmyk(0%, 2%, 39.1%, 0.8%)
CIE-LABlab(96.14, -11.47, 45.72)
CIE-LCHlch(96.14, 47.13, 104.08°)
OKLaboklab(96.27% -0.0314 0.1114)
OKLCHoklch(96.27% 0.116 105.7)
XYZxyz(79.9094, 90.3524, 43.7959)
Luminance0.9035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF89A #9A9FFD
analogous
#FDC79A #FDF89A #D0FD9A
triadic
#FDF89A #9AFDF8 #F89AFD
tetradic
#FDF89A #9AFDC7 #9A9FFD #FD9AD0
square
#FDF89A #9AFDC7 #9A9FFD #FD9AD0
split-complementary
#FDF89A #9AD0FD #C79AFD
monochromatic
#FBF022 #FCF45E #FDF89A #FEFCD6 #FEFDE1

Accessibility & contrast

On white

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

On black

19.07
#FDF89A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF89A
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF89A#FFFFFF#000000##000000
##FDF89A1.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf89a;
/* rgb */ color: rgb(253, 248, 154);
/* oklch */ color: oklch(96.3% 0.116 105.7);
Tailwind
colors: {
  custom: {
    50: '#fffab9',
    500: '#fdf89a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf89a;
$custom-light: #fffab9;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf89a",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 154
  },
  "hsl": {
    "h": 56.97,
    "s": 96.117,
    "l": 79.804
  },
  "oklch": {
    "l": 0.96274,
    "c": 0.11574,
    "h": 105.7
  },
  "luminance": 0.90351
}

Semantic roles & 50–950 ramp

primary
#FDF89A
secondary
#5C63DF
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF89A

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

Preview Lab → · Contrast checker → · Palette generator →

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