#FDF193#FDF193

#FDF193 is a very light, moderate yellow. Relative luminance 0.859; OKLCH L 94.8% C 0.116 H 102.0°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#FDF193
RGBrgb(253, 241, 147)
HSLhsl(53, 96%, 78%)
HSVhsv(53, 42%, 99%)
CMYKcmyk(0%, 4.7%, 41.9%, 0.8%)
CIE-LABlab(94.27, -8.73, 46.75)
CIE-LCHlch(94.27, 47.56, 100.58°)
OKLaboklab(94.76% -0.0241 0.1134)
OKLCHoklch(94.76% 0.116 102)
XYZxyz(77.2314, 85.9021, 40.1106)
Luminance0.8590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF193 #939FFD
analogous
#FDBC93 #FDF193 #D4FD93
triadic
#FDF193 #93FDF1 #F193FD
tetradic
#FDF193 #93FDBC #939FFD #FD93D4
square
#FDF193 #93FDBC #939FFD #FD93D4
split-complementary
#FDF193 #93D4FD #BC93FD
monochromatic
#FBE11B #FCE957 #FDF193 #FEF9CF #FEFBE1

Accessibility & contrast

On white

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

On black

18.18
#FDF193 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF193
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF193#FFFFFF#000000##000000
##FDF1931.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8C
Deuteranopia (green-blind)
#FFF197
Tritanopia (blue-blind)
#FFE5DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf193;
/* rgb */ color: rgb(253, 241, 147);
/* oklch */ color: oklch(94.8% 0.116 102.0);
Tailwind
colors: {
  custom: {
    50: '#fff5b4',
    500: '#fdf193',
    950: '#000000',
  },
}
SCSS
$custom: #fdf193;
$custom-light: #fff5b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf193",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 147
  },
  "hsl": {
    "h": 53.208,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.94758,
    "c": 0.11592,
    "h": 102
  },
  "luminance": 0.859
}

Semantic roles & 50–950 ramp

primary
#FDF193
secondary
#5665DE
accent
#1AE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF193

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

Preview Lab → · Contrast checker → · Palette generator →

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