#FDF176#FDF176

#FDF176 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.144 H 103.7°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FDF176
RGBrgb(253, 241, 118)
HSLhsl(55, 97%, 73%)
HSVhsv(55, 53%, 99%)
CMYKcmyk(0%, 4.7%, 53.4%, 0.8%)
CIE-LABlab(93.93, -11.31, 59.97)
CIE-LCHlch(93.93, 61.03, 100.68°)
OKLaboklab(94.38% -0.0343 0.1404)
OKLCHoklch(94.38% 0.144 103.7)
XYZxyz(75.2356, 85.1037, 29.5996)
Luminance0.8510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF176 #7682FD
analogous
#FDAE76 #FDF176 #C5FD76
triadic
#FDF176 #76FDF1 #F176FD
tetradic
#FDF176 #76FDAE #7682FD #FD76C5
square
#FDF176 #76FDAE #7682FD #FD76C5
split-complementary
#FDF176 #76C5FD #AE76FD
monochromatic
#F5E004 #FCEB3A #FDF176 #FEF7B2 #FFFCE1

Accessibility & contrast

On white

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

On black

18.02
#FDF176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF176
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF176#FFFFFF#000000##000000
##FDF1761.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6A
Deuteranopia (green-blind)
#FFF07C
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf176;
/* rgb */ color: rgb(253, 241, 118);
/* oklch */ color: oklch(94.4% 0.144 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff5a1',
    500: '#fdf176',
    950: '#000000',
  },
}
SCSS
$custom: #fdf176;
$custom-light: #fff5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf176",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 118
  },
  "hsl": {
    "h": 54.667,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94375,
    "c": 0.14447,
    "h": 103.7
  },
  "luminance": 0.85101
}

Semantic roles & 50–950 ramp

primary
#FDF176
secondary
#3D4BDA
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF176

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

Preview Lab → · Contrast checker → · Palette generator →

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