#FDEF8A#FDEF8A

#FDEF8A is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.2% C 0.123 H 101.5°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#FDEF8A
RGBrgb(253, 239, 138)
HSLhsl(53, 97%, 77%)
HSVhsv(53, 45%, 99%)
CMYKcmyk(0%, 5.5%, 45.5%, 0.8%)
CIE-LABlab(93.65, -8.61, 50.32)
CIE-LCHlch(93.65, 51.05, 99.71°)
OKLaboklab(94.23% -0.0245 0.1208)
OKLCHoklch(94.23% 0.123 101.5)
XYZxyz(75.9638, 84.4530, 36.3394)
Luminance0.8445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEF8A #8A98FD
analogous
#FDB68A #FDEF8A #D2FD8A
triadic
#FDEF8A #8AFDEF #EF8AFD
tetradic
#FDEF8A #8AFDB6 #8A98FD #FD8AD2
square
#FDEF8A #8AFDB6 #8A98FD #FD8AD2
split-complementary
#FDEF8A #8AD2FD #B68AFD
monochromatic
#FBDF12 #FCE74E #FDEF8A #FEF7C6 #FEFBE1

Accessibility & contrast

On white

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

On black

17.89
#FDEF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEF8A
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEF8A#FFFFFF#000000##000000
##FDEF8A1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE982
Deuteranopia (green-blind)
#FFF08E
Tritanopia (blue-blind)
#FFE2D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdef8a;
/* rgb */ color: rgb(253, 239, 138);
/* oklch */ color: oklch(94.2% 0.123 101.5);
Tailwind
colors: {
  custom: {
    50: '#fff4ae',
    500: '#fdef8a',
    950: '#000000',
  },
}
SCSS
$custom: #fdef8a;
$custom-light: #fff4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fdef8a",
  "rgb": {
    "r": 253,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 52.696,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94225,
    "c": 0.1233,
    "h": 101.5
  },
  "luminance": 0.84451
}

Semantic roles & 50–950 ramp

primary
#FDEF8A
secondary
#4E60DD
accent
#1CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDEF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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