#FDF989#FDF989

#FDF989 is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.2% C 0.134 H 106.9°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#FDF989
RGBrgb(253, 249, 137)
HSLhsl(58, 97%, 76%)
HSVhsv(58, 46%, 99%)
CMYKcmyk(0%, 1.6%, 45.8%, 0.8%)
CIE-LABlab(96.18, -13.62, 53.90)
CIE-LCHlch(96.18, 55.59, 104.18°)
OKLaboklab(96.23% -0.039 0.1287)
OKLCHoklch(96.23% 0.134 106.9)
XYZxyz(78.9008, 90.4422, 36.9629)
Luminance0.9044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF989 #898DFD
analogous
#FDBF89 #FDF989 #C7FD89
triadic
#FDF989 #89FDF9 #F989FD
tetradic
#FDF989 #89FDBF #898DFD #FD89C7
square
#FDF989 #89FDBF #898DFD #FD89C7
split-complementary
#FDF989 #89C7FD #BF89FD
monochromatic
#FBF311 #FCF64D #FDF989 #FEFCC5 #FEFDE1

Accessibility & contrast

On white

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

On black

19.09
#FDF989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF989
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF989#FFFFFF#000000##000000
##FDF9891.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17F
Deuteranopia (green-blind)
#FFF68E
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf989;
/* rgb */ color: rgb(253, 249, 137);
/* oklch */ color: oklch(96.2% 0.134 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffbad',
    500: '#fdf989',
    950: '#000000',
  },
}
SCSS
$custom: #fdf989;
$custom-light: #fffbad;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf989",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 57.931,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.96233,
    "c": 0.13449,
    "h": 106.9
  },
  "luminance": 0.9044
}

Semantic roles & 50–950 ramp

primary
#FDF989
secondary
#4D52DD
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF989

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

Preview Lab → · Contrast checker → · Palette generator →

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