#FDF09F#FDF09F

#FDF09F is a very light, moderate yellow. Relative luminance 0.857; OKLCH L 94.7% C 0.102 H 100.2°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#FDF09F
RGBrgb(253, 240, 159)
HSLhsl(52, 96%, 81%)
HSVhsv(52, 37%, 99%)
CMYKcmyk(0%, 5.1%, 37.2%, 0.8%)
CIE-LABlab(94.19, -6.97, 40.75)
CIE-LCHlch(94.19, 41.34, 99.71°)
OKLaboklab(94.75% -0.0181 0.1002)
OKLCHoklch(94.75% 0.102 100.2)
XYZxyz(77.9274, 85.7082, 45.2325)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF09F #9FACFD
analogous
#FDC19F #FDF09F #DBFD9F
triadic
#FDF09F #9FFDF0 #F09FFD
tetradic
#FDF09F #9FFDC1 #9FACFD #FD9FDB
square
#FDF09F #9FFDC1 #9FACFD #FD9FDB
split-complementary
#FDF09F #9FDBFD #C19FFD
monochromatic
#FBDD27 #FCE763 #FDF09F #FEF9DB #FEFAE1

Accessibility & contrast

On white

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

On black

18.14
#FDF09F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF09F
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF09F#FFFFFF#000000##000000
##FDF09F1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB99
Deuteranopia (green-blind)
#FFF1A2
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf09f;
/* rgb */ color: rgb(253, 240, 159);
/* oklch */ color: oklch(94.7% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#fff4bc',
    500: '#fdf09f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf09f;
$custom-light: #fff4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf09f",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 159
  },
  "hsl": {
    "h": 51.702,
    "s": 95.918,
    "l": 80.784
  },
  "oklch": {
    "l": 0.94747,
    "c": 0.10186,
    "h": 100.2
  },
  "luminance": 0.85706
}

Semantic roles & 50–950 ramp

primary
#FDF09F
secondary
#6072E0
accent
#20E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF09F

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

Preview Lab → · Contrast checker → · Palette generator →

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