#FDF289#FDF289

#FDF289 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.127 H 103.2°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FDF289
RGBrgb(253, 242, 137)
HSLhsl(54, 97%, 76%)
HSVhsv(54, 46%, 99%)
CMYKcmyk(0%, 4.3%, 45.8%, 0.8%)
CIE-LABlab(94.40, -10.18, 51.72)
CIE-LCHlch(94.40, 52.71, 101.14°)
OKLaboklab(94.82% -0.0291 0.1239)
OKLCHoklch(94.82% 0.127 103.2)
XYZxyz(76.7774, 86.1953, 36.2551)
Luminance0.8619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF289 #8994FD
analogous
#FDB889 #FDF289 #CEFD89
triadic
#FDF289 #89FDF2 #F289FD
tetradic
#FDF289 #89FDB8 #8994FD #FD89CE
square
#FDF289 #89FDB8 #8994FD #FD89CE
split-complementary
#FDF289 #89CEFD #B889FD
monochromatic
#FBE511 #FCEB4D #FDF289 #FEF9C5 #FEFCE1

Accessibility & contrast

On white

1.15
#FDF289 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#FDF289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF289
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF289#FFFFFF#000000##000000
##FDF2891.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC80
Deuteranopia (green-blind)
#FFF28E
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf289;
/* rgb */ color: rgb(253, 242, 137);
/* oklch */ color: oklch(94.8% 0.127 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff6ad',
    500: '#fdf289',
    950: '#000000',
  },
}
SCSS
$custom: #fdf289;
$custom-light: #fff6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf289",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 137
  },
  "hsl": {
    "h": 54.31,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94815,
    "c": 0.12727,
    "h": 103.2
  },
  "luminance": 0.86193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF289

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

Preview Lab → · Contrast checker → · Palette generator →

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