#FDF291#FDF291

#FDF291 is a very light, moderate yellow. Relative luminance 0.864; OKLCH L 94.9% C 0.119 H 102.7°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#FDF291
RGBrgb(253, 242, 145)
HSLhsl(54, 96%, 78%)
HSVhsv(54, 43%, 99%)
CMYKcmyk(0%, 4.3%, 42.7%, 0.8%)
CIE-LABlab(94.50, -9.42, 48.00)
CIE-LCHlch(94.50, 48.92, 101.10°)
OKLaboklab(94.93% -0.0262 0.1161)
OKLCHoklch(94.93% 0.119 102.7)
XYZxyz(77.3726, 86.4335, 39.3901)
Luminance0.8643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF291 #919CFD
analogous
#FDBC91 #FDF291 #D2FD91
triadic
#FDF291 #91FDF2 #F291FD
tetradic
#FDF291 #91FDBC #919CFD #FD91D2
square
#FDF291 #91FDBC #919CFD #FD91D2
split-complementary
#FDF291 #91D2FD #BC91FD
monochromatic
#FBE419 #FCEB55 #FDF291 #FEF9CD #FEFBE1

Accessibility & contrast

On white

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

On black

18.29
#FDF291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF291
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF291#FFFFFF#000000##000000
##FDF2911.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC89
Deuteranopia (green-blind)
#FFF295
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf291;
/* rgb */ color: rgb(253, 242, 145);
/* oklch */ color: oklch(94.9% 0.119 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff6b3',
    500: '#fdf291',
    950: '#000000',
  },
}
SCSS
$custom: #fdf291;
$custom-light: #fff6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf291",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 145
  },
  "hsl": {
    "h": 53.889,
    "s": 96.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94929,
    "c": 0.11903,
    "h": 102.7
  },
  "luminance": 0.86431
}

Semantic roles & 50–950 ramp

primary
#FDF291
secondary
#5462DE
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF291

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

Preview Lab → · Contrast checker → · Palette generator →

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