#FDF772#FDF772

#FDF772 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.154 H 106.6°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FDF772
RGBrgb(253, 247, 114)
HSLhsl(57, 97%, 72%)
HSVhsv(57, 55%, 99%)
CMYKcmyk(0%, 2.4%, 54.9%, 0.8%)
CIE-LABlab(95.42, -14.55, 63.46)
CIE-LCHlch(95.42, 65.11, 102.91°)
OKLaboklab(95.55% -0.0439 0.1475)
OKLCHoklch(95.55% 0.154 106.6)
XYZxyz(76.8083, 88.6214, 28.9760)
Luminance0.8862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF772 #7278FD
analogous
#FDB272 #FDF772 #BEFD72
triadic
#FDF772 #72FDF7 #F772FD
tetradic
#FDF772 #72FDB2 #7278FD #FD72BE
square
#FDF772 #72FDB2 #7278FD #FD72BE
split-complementary
#FDF772 #72BEFD #B272FD
monochromatic
#F1E703 #FCF436 #FDF772 #FEFAAE #FFFDE1

Accessibility & contrast

On white

1.12
#FDF772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#FDF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF772
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF772#FFFFFF#000000##000000
##FDF7721.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF64
Deuteranopia (green-blind)
#FFF479
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf772;
/* rgb */ color: rgb(253, 247, 114);
/* oklch */ color: oklch(95.5% 0.154 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#fdf772',
    950: '#000000',
  },
}
SCSS
$custom: #fdf772;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf772",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 57.41,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9555,
    "c": 0.15386,
    "h": 106.6
  },
  "luminance": 0.88619
}

Semantic roles & 50–950 ramp

primary
#FDF772
secondary
#3A41D9
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF772

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

Preview Lab → · Contrast checker → · Palette generator →

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