#FDEF97#FDEF97

#FDEF97 is a very light, moderate yellow. Relative luminance 0.849; OKLCH L 94.4% C 0.110 H 100.4°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#FDEF97
RGBrgb(253, 239, 151)
HSLhsl(52, 96%, 79%)
HSVhsv(52, 40%, 99%)
CMYKcmyk(0%, 5.5%, 40.3%, 0.8%)
CIE-LABlab(93.82, -7.33, 44.22)
CIE-LCHlch(93.82, 44.83, 99.41°)
OKLaboklab(94.42% -0.0197 0.1079)
OKLCHoklch(94.42% 0.11 100.4)
XYZxyz(76.9620, 84.8523, 41.5962)
Luminance0.8485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEF97 #97A5FD
analogous
#FDBC97 #FDEF97 #D8FD97
triadic
#FDEF97 #97FDEF #EF97FD
tetradic
#FDEF97 #97FDBC #97A5FD #FD97D8
square
#FDEF97 #97FDBC #97A5FD #FD97D8
split-complementary
#FDEF97 #97D8FD #BC97FD
monochromatic
#FBDD1F #FCE65B #FDEF97 #FEF8D3 #FEFAE1

Accessibility & contrast

On white

1.17
#FDEF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.97
#FDEF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEF97
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEF97#FFFFFF#000000##000000
##FDEF971.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA90
Deuteranopia (green-blind)
#FFF09A
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdef97;
/* rgb */ color: rgb(253, 239, 151);
/* oklch */ color: oklch(94.4% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#fff4b7',
    500: '#fdef97',
    950: '#000000',
  },
}
SCSS
$custom: #fdef97;
$custom-light: #fff4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdef97",
  "rgb": {
    "r": 253,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 51.765,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.94418,
    "c": 0.10965,
    "h": 100.4
  },
  "luminance": 0.8485
}

Semantic roles & 50–950 ramp

primary
#FDEF97
secondary
#596CDF
accent
#1FE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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