#FDF893#FDF893

#FDF893 is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.2% C 0.123 H 106.0°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#FDF893
RGBrgb(253, 248, 147)
HSLhsl(57, 96%, 78%)
HSVhsv(57, 42%, 99%)
CMYKcmyk(0%, 2%, 41.9%, 0.8%)
CIE-LABlab(96.05, -12.18, 48.98)
CIE-LCHlch(96.05, 50.47, 103.96°)
OKLaboklab(96.17% -0.034 0.1184)
OKLCHoklch(96.17% 0.123 106)
XYZxyz(79.3433, 90.1260, 40.8145)
Luminance0.9012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF893 #9398FD
analogous
#FDC393 #FDF893 #CDFD93
triadic
#FDF893 #93FDF8 #F893FD
tetradic
#FDF893 #93FDC3 #9398FD #FD93CD
square
#FDF893 #93FDC3 #9398FD #FD93CD
split-complementary
#FDF893 #93CDFD #C393FD
monochromatic
#FBF01B #FCF457 #FDF893 #FEFCCF #FEFDE1

Accessibility & contrast

On white

1.10
#FDF893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.02
#FDF893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF893
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF893#FFFFFF#000000##000000
##FDF8931.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18B
Deuteranopia (green-blind)
#FFF697
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf893;
/* rgb */ color: rgb(253, 248, 147);
/* oklch */ color: oklch(96.2% 0.123 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffab4',
    500: '#fdf893',
    950: '#000000',
  },
}
SCSS
$custom: #fdf893;
$custom-light: #fffab4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf893",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 147
  },
  "hsl": {
    "h": 57.17,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.96169,
    "c": 0.1232,
    "h": 106
  },
  "luminance": 0.90124
}

Semantic roles & 50–950 ramp

primary
#FDF893
secondary
#565CDE
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF893

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

Preview Lab → · Contrast checker → · Palette generator →

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