#FDF774#FDF774

#FDF774 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.6% C 0.152 H 106.5°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#FDF774
RGBrgb(253, 247, 116)
HSLhsl(57, 97%, 72%)
HSVhsv(57, 54%, 99%)
CMYKcmyk(0%, 2.4%, 54.2%, 0.8%)
CIE-LABlab(95.44, -14.40, 62.61)
CIE-LCHlch(95.44, 64.24, 102.95°)
OKLaboklab(95.57% -0.0433 0.1458)
OKLCHoklch(95.57% 0.152 106.5)
XYZxyz(76.9234, 88.6674, 29.5821)
Luminance0.8867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF774 #747AFD
analogous
#FDB274 #FDF774 #BFFD74
triadic
#FDF774 #74FDF7 #F774FD
tetradic
#FDF774 #74FDB2 #747AFD #FD74BF
square
#FDF774 #74FDB2 #747AFD #FD74BF
split-complementary
#FDF774 #74BFFD #B274FD
monochromatic
#F3E903 #FCF438 #FDF774 #FEFAB0 #FFFDE1

Accessibility & contrast

On white

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

On black

18.73
#FDF774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF774
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF774#FFFFFF#000000##000000
##FDF7741.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf774;
/* rgb */ color: rgb(253, 247, 116);
/* oklch */ color: oklch(95.6% 0.152 106.5);
Tailwind
colors: {
  custom: {
    50: '#fff9a0',
    500: '#fdf774',
    950: '#000000',
  },
}
SCSS
$custom: #fdf774;
$custom-light: #fff9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf774",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 57.372,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95572,
    "c": 0.15212,
    "h": 106.5
  },
  "luminance": 0.88665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF774

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

Preview Lab → · Contrast checker → · Palette generator →

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