#FDF76F#FDF76F

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

Color values

HEX#FDF76F
RGBrgb(253, 247, 111)
HSLhsl(57, 97%, 71%)
HSVhsv(57, 56%, 99%)
CMYKcmyk(0%, 2.4%, 56.1%, 0.8%)
CIE-LABlab(95.39, -14.76, 64.74)
CIE-LCHlch(95.39, 66.40, 102.85°)
OKLaboklab(95.52% -0.0449 0.1498)
OKLCHoklch(95.52% 0.156 106.7)
XYZxyz(76.6403, 88.5542, 28.0914)
Luminance0.8855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF76F #6F75FD
analogous
#FDB06F #FDF76F #BCFD6F
triadic
#FDF76F #6FFDF7 #F76FFD
tetradic
#FDF76F #6FFDB0 #6F75FD #FD6FBC
square
#FDF76F #6FFDB0 #6F75FD #FD6FBC
split-complementary
#FDF76F #6FBCFD #B06FFD
monochromatic
#EEE403 #FCF433 #FDF76F #FEFAAB #FFFDE1

Accessibility & contrast

On white

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

On black

18.71
#FDF76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF76F
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF76F#FFFFFF#000000##000000
##FDF76F1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF61
Deuteranopia (green-blind)
#FFF476
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf76f;
/* rgb */ color: rgb(253, 247, 111);
/* oklch */ color: oklch(95.5% 0.156 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff99d',
    500: '#fdf76f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf76f;
$custom-light: #fff99d;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf76f",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 57.465,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95519,
    "c": 0.15642,
    "h": 106.7
  },
  "luminance": 0.88552
}

Semantic roles & 50–950 ramp

primary
#FDF76F
secondary
#373ED9
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF76F

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

Preview Lab → · Contrast checker → · Palette generator →

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