#FDF293#FDF293

#FDF293 is a very light, moderate yellow. Relative luminance 0.865; OKLCH L 95.0% C 0.117 H 102.6°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FDF293
RGBrgb(253, 242, 147)
HSLhsl(54, 96%, 78%)
HSVhsv(54, 42%, 99%)
CMYKcmyk(0%, 4.3%, 41.9%, 0.8%)
CIE-LABlab(94.52, -9.22, 47.07)
CIE-LCHlch(94.52, 47.96, 101.09°)
OKLaboklab(94.96% -0.0255 0.1141)
OKLCHoklch(94.96% 0.117 102.6)
XYZxyz(77.5282, 86.4957, 40.2095)
Luminance0.8649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF293 #939EFD
analogous
#FDBD93 #FDF293 #D3FD93
triadic
#FDF293 #93FDF2 #F293FD
tetradic
#FDF293 #93FDBD #939EFD #FD93D3
square
#FDF293 #93FDBD #939EFD #FD93D3
split-complementary
#FDF293 #93D3FD #BD93FD
monochromatic
#FBE41B #FCEB57 #FDF293 #FEF9CF #FEFBE1

Accessibility & contrast

On white

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

On black

18.30
#FDF293 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF293
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF293#FFFFFF#000000##000000
##FDF2931.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8C
Deuteranopia (green-blind)
#FFF297
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf293;
/* rgb */ color: rgb(253, 242, 147);
/* oklch */ color: oklch(95.0% 0.117 102.6);
Tailwind
colors: {
  custom: {
    50: '#fff6b4',
    500: '#fdf293',
    950: '#000000',
  },
}
SCSS
$custom: #fdf293;
$custom-light: #fff6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf293",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 147
  },
  "hsl": {
    "h": 53.774,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.94959,
    "c": 0.11692,
    "h": 102.6
  },
  "luminance": 0.86493
}

Semantic roles & 50–950 ramp

primary
#FDF293
secondary
#5664DE
accent
#18E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF293

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

Preview Lab → · Contrast checker → · Palette generator →

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