#FDF974#FDF974

#FDF974 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.154 H 107.4°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#FDF974
RGBrgb(253, 249, 116)
HSLhsl(58, 97%, 72%)
HSVhsv(58, 54%, 99%)
CMYKcmyk(0%, 1.6%, 54.2%, 0.8%)
CIE-LABlab(95.95, -15.37, 63.19)
CIE-LCHlch(95.95, 65.03, 103.67°)
OKLaboklab(95.98% -0.0461 0.1471)
OKLCHoklch(95.98% 0.154 107.4)
XYZxyz(77.5383, 89.8972, 29.7870)
Luminance0.8990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF974 #7478FD
analogous
#FDB474 #FDF974 #BDFD74
triadic
#FDF974 #74FDF9 #F974FD
tetradic
#FDF974 #74FDB4 #7478FD #FD74BD
square
#FDF974 #74FDB4 #7478FD #FD74BD
split-complementary
#FDF974 #74BDFD #B474FD
monochromatic
#F3EC03 #FCF638 #FDF974 #FEFCB0 #FFFEE1

Accessibility & contrast

On white

1.11
#FDF974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.98
#FDF974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF974
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF974#FFFFFF#000000##000000
##FDF9741.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF067
Deuteranopia (green-blind)
#FFF67B
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf974;
/* rgb */ color: rgb(253, 249, 116);
/* oklch */ color: oklch(96.0% 0.154 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffba0',
    500: '#fdf974',
    950: '#000000',
  },
}
SCSS
$custom: #fdf974;
$custom-light: #fffba0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf974",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 58.248,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9598,
    "c": 0.15413,
    "h": 107.4
  },
  "luminance": 0.89895
}

Semantic roles & 50–950 ramp

primary
#FDF974
secondary
#3B40DA
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF974

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

Preview Lab → · Contrast checker → · Palette generator →

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