#FDF76C#FDF76C

#FDF76C is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.5% C 0.159 H 106.7°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#FDF76C
RGBrgb(253, 247, 108)
HSLhsl(58, 97%, 71%)
HSVhsv(58, 57%, 99%)
CMYKcmyk(0%, 2.4%, 57.3%, 0.8%)
CIE-LABlab(95.37, -14.98, 66.00)
CIE-LCHlch(95.37, 67.67, 102.78°)
OKLaboklab(95.49% -0.0458 0.1522)
OKLCHoklch(95.49% 0.159 106.7)
XYZxyz(76.4779, 88.4892, 27.2360)
Luminance0.8849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF76C #6C72FD
analogous
#FDAE6C #FDF76C #BAFD6C
triadic
#FDF76C #6CFDF7 #F76CFD
tetradic
#FDF76C #6CFDAE #6C72FD #FD6CBA
square
#FDF76C #6CFDAE #6C72FD #FD6CBA
split-complementary
#FDF76C #6CBAFD #AE6CFD
monochromatic
#EBE203 #FCF430 #FDF76C #FEFAA8 #FFFDE1

Accessibility & contrast

On white

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

On black

18.70
#FDF76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF76C
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF76C#FFFFFF#000000##000000
##FDF76C1.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5D
Deuteranopia (green-blind)
#FFF474
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf76c;
/* rgb */ color: rgb(253, 247, 108);
/* oklch */ color: oklch(95.5% 0.159 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff99b',
    500: '#fdf76c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf76c;
$custom-light: #fff99b;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf76c",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 108
  },
  "hsl": {
    "h": 57.517,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95488,
    "c": 0.15891,
    "h": 106.7
  },
  "luminance": 0.88487
}

Semantic roles & 50–950 ramp

primary
#FDF76C
secondary
#353BD9
accent
#09E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF76C

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

Preview Lab → · Contrast checker → · Palette generator →

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