#FDF393#FDF393

#FDF393 is a very light, moderate yellow. Relative luminance 0.871; OKLCH L 95.2% C 0.118 H 103.2°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FDF393
RGBrgb(253, 243, 147)
HSLhsl(54, 96%, 78%)
HSVhsv(54, 42%, 99%)
CMYKcmyk(0%, 4%, 41.9%, 0.8%)
CIE-LABlab(94.78, -9.72, 47.39)
CIE-LCHlch(94.78, 48.37, 101.59°)
OKLaboklab(95.16% -0.0269 0.1148)
OKLCHoklch(95.16% 0.118 103.2)
XYZxyz(77.8266, 87.0926, 40.3090)
Luminance0.8709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF393 #939DFD
analogous
#FDBE93 #FDF393 #D2FD93
triadic
#FDF393 #93FDF3 #F393FD
tetradic
#FDF393 #93FDBE #939DFD #FD93D2
square
#FDF393 #93FDBE #939DFD #FD93D2
split-complementary
#FDF393 #93D2FD #BE93FD
monochromatic
#FBE61B #FCEC57 #FDF393 #FEFACF #FEFCE1

Accessibility & contrast

On white

1.14
#FDF393 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#FDF393 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF393
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF393#FFFFFF#000000##000000
##FDF3931.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8B
Deuteranopia (green-blind)
#FFF297
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf393;
/* rgb */ color: rgb(253, 243, 147);
/* oklch */ color: oklch(95.2% 0.118 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff6b4',
    500: '#fdf393',
    950: '#000000',
  },
}
SCSS
$custom: #fdf393;
$custom-light: #fff6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf393",
  "rgb": {
    "r": 253,
    "g": 243,
    "b": 147
  },
  "hsl": {
    "h": 54.34,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.9516,
    "c": 0.11794,
    "h": 103.2
  },
  "luminance": 0.8709
}

Semantic roles & 50–950 ramp

primary
#FDF393
secondary
#5663DE
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF393

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

Preview Lab → · Contrast checker → · Palette generator →

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