#FDF189#FDF189

#FDF189 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.6% C 0.126 H 102.7°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FDF189
RGBrgb(253, 241, 137)
HSLhsl(54, 97%, 76%)
HSVhsv(54, 46%, 99%)
CMYKcmyk(0%, 4.7%, 45.8%, 0.8%)
CIE-LABlab(94.14, -9.69, 51.40)
CIE-LCHlch(94.14, 52.31, 100.68°)
OKLaboklab(94.61% -0.0277 0.1232)
OKLCHoklch(94.61% 0.126 102.7)
XYZxyz(76.4805, 85.6017, 36.1561)
Luminance0.8560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF189 #8995FD
analogous
#FDB789 #FDF189 #CFFD89
triadic
#FDF189 #89FDF1 #F189FD
tetradic
#FDF189 #89FDB7 #8995FD #FD89CF
square
#FDF189 #89FDB7 #8995FD #FD89CF
split-complementary
#FDF189 #89CFFD #B789FD
monochromatic
#FBE311 #FCEA4D #FDF189 #FEF8C5 #FEFBE1

Accessibility & contrast

On white

1.16
#FDF189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#FDF189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF189
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF189#FFFFFF#000000##000000
##FDF1891.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB80
Deuteranopia (green-blind)
#FFF18E
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf189;
/* rgb */ color: rgb(253, 241, 137);
/* oklch */ color: oklch(94.6% 0.126 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff5ad',
    500: '#fdf189',
    950: '#000000',
  },
}
SCSS
$custom: #fdf189;
$custom-light: #fff5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf189",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 137
  },
  "hsl": {
    "h": 53.793,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94614,
    "c": 0.12627,
    "h": 102.7
  },
  "luminance": 0.85599
}

Semantic roles & 50–950 ramp

primary
#FDF189
secondary
#4D5CDD
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF189

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

Preview Lab → · Contrast checker → · Palette generator →

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