#FDF48B#FDF48B

#FDF48B is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.2% C 0.127 H 104.2°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#FDF48B
RGBrgb(253, 244, 139)
HSLhsl(55, 97%, 77%)
HSVhsv(55, 45%, 99%)
CMYKcmyk(0%, 3.6%, 45.1%, 0.8%)
CIE-LABlab(94.93, -10.98, 51.42)
CIE-LCHlch(94.93, 52.58, 102.06°)
OKLaboklab(95.25% -0.0313 0.1234)
OKLCHoklch(95.25% 0.127 104.2)
XYZxyz(77.5207, 87.4503, 37.2171)
Luminance0.8745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF48B #8B94FD
analogous
#FDBB8B #FDF48B #CDFD8B
triadic
#FDF48B #8BFDF4 #F48BFD
tetradic
#FDF48B #8BFDBB #8B94FD #FD8BCD
square
#FDF48B #8BFDBB #8B94FD #FD8BCD
split-complementary
#FDF48B #8BCDFD #BB8BFD
monochromatic
#FBE913 #FCEE4F #FDF48B #FEFAC7 #FEFCE1

Accessibility & contrast

On white

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

On black

18.49
#FDF48B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF48B
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF48B#FFFFFF#000000##000000
##FDF48B1.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED82
Deuteranopia (green-blind)
#FFF390
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf48b;
/* rgb */ color: rgb(253, 244, 139);
/* oklch */ color: oklch(95.2% 0.127 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff7af',
    500: '#fdf48b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf48b;
$custom-light: #fff7af;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf48b",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 139
  },
  "hsl": {
    "h": 55.263,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95247,
    "c": 0.12726,
    "h": 104.2
  },
  "luminance": 0.87448
}

Semantic roles & 50–950 ramp

primary
#FDF48B
secondary
#4F5ADD
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF48B

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

Preview Lab → · Contrast checker → · Palette generator →

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