#FDF89F#FDF89F

#FDF89F is a very light, moderate yellow. Relative luminance 0.905; OKLCH L 96.4% C 0.110 H 105.5°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#FDF89F
RGBrgb(253, 248, 159)
HSLhsl(57, 96%, 81%)
HSVhsv(57, 37%, 99%)
CMYKcmyk(0%, 2%, 37.2%, 0.8%)
CIE-LABlab(96.21, -10.93, 43.36)
CIE-LCHlch(96.21, 44.72, 104.15°)
OKLaboklab(96.35% -0.0295 0.1063)
OKLCHoklch(96.35% 0.11 105.5)
XYZxyz(80.3346, 90.5225, 46.0349)
Luminance0.9052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF89F #9FA4FD
analogous
#FDC99F #FDF89F #D3FD9F
triadic
#FDF89F #9FFDF8 #F89FFD
tetradic
#FDF89F #9FFDC9 #9FA4FD #FD9FD3
square
#FDF89F #9FFDC9 #9FA4FD #FD9FD3
split-complementary
#FDF89F #9FD3FD #C99FFD
monochromatic
#FBEF27 #FCF463 #FDF89F #FEFCDB #FEFDE1

Accessibility & contrast

On white

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

On black

19.10
#FDF89F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF89F
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF89F#FFFFFF#000000##000000
##FDF89F1.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF298
Deuteranopia (green-blind)
#FFF6A3
Tritanopia (blue-blind)
#FFEDE2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf89f;
/* rgb */ color: rgb(253, 248, 159);
/* oklch */ color: oklch(96.4% 0.110 105.5);
Tailwind
colors: {
  custom: {
    50: '#fffabc',
    500: '#fdf89f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf89f;
$custom-light: #fffabc;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf89f",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 159
  },
  "hsl": {
    "h": 56.809,
    "s": 95.918,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96353,
    "c": 0.11028,
    "h": 105.5
  },
  "luminance": 0.90521
}

Semantic roles & 50–950 ramp

primary
#FDF89F
secondary
#6067E0
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF89F

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

Preview Lab → · Contrast checker → · Palette generator →

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