#FDF876#FDF876

#FDF876 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.8% C 0.151 H 106.9°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#FDF876
RGBrgb(253, 248, 118)
HSLhsl(58, 97%, 73%)
HSVhsv(58, 53%, 99%)
CMYKcmyk(0%, 2%, 53.4%, 0.8%)
CIE-LABlab(95.72, -14.73, 62.04)
CIE-LCHlch(95.72, 63.76, 103.36°)
OKLaboklab(95.8% -0.044 0.1448)
OKLCHoklch(95.8% 0.151 106.9)
XYZxyz(77.3476, 89.3277, 30.3036)
Luminance0.8932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF876 #767BFD
analogous
#FDB576 #FDF876 #BEFD76
triadic
#FDF876 #76FDF8 #F876FD
tetradic
#FDF876 #76FDB5 #767BFD #FD76BE
square
#FDF876 #76FDB5 #767BFD #FD76BE
split-complementary
#FDF876 #76BEFD #B576FD
monochromatic
#F5EC04 #FCF53A #FDF876 #FEFBB2 #FFFDE1

Accessibility & contrast

On white

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

On black

18.86
#FDF876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF876
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF876#FFFFFF#000000##000000
##FDF8761.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF069
Deuteranopia (green-blind)
#FFF57D
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf876;
/* rgb */ color: rgb(253, 248, 118);
/* oklch */ color: oklch(95.8% 0.151 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffaa1',
    500: '#fdf876',
    950: '#000000',
  },
}
SCSS
$custom: #fdf876;
$custom-light: #fffaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf876",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 118
  },
  "hsl": {
    "h": 57.778,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95798,
    "c": 0.15136,
    "h": 106.9
  },
  "luminance": 0.89325
}

Semantic roles & 50–950 ramp

primary
#FDF876
secondary
#3D43DA
accent
#08E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF876

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

Preview Lab → · Contrast checker → · Palette generator →

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