#FFF76D#FFF76D

#FFF76D is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.7% C 0.158 H 105.9°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FFF76D
RGBrgb(255, 247, 109)
HSLhsl(57, 100%, 71%)
HSVhsv(57, 57%, 100%)
CMYKcmyk(0%, 3.1%, 57.3%, 0%)
CIE-LABlab(95.53, -14.11, 65.80)
CIE-LCHlch(95.53, 67.29, 102.10°)
OKLaboklab(95.66% -0.0433 0.1518)
OKLCHoklch(95.66% 0.158 105.9)
XYZxyz(77.2635, 88.8881, 27.5522)
Luminance0.8889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF76D #6D75FF
analogous
#FFAE6D #FFF76D #BEFF6D
triadic
#FFF76D #6DFFF7 #F76DFF
tetradic
#FFF76D #6DFFAE #6D75FF #FF6DBE
square
#FFF76D #6DFFAE #6D75FF #FF6DBE
split-complementary
#FFF76D #6DBEFF #AE6DFF
monochromatic
#F2E400 #FFF430 #FFF76D #FFFAAA #FFFDE0

Accessibility & contrast

On white

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

On black

18.78
#FFF76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF76D
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF76D#FFFFFF#000000##000000
##FFF76D1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff76d;
/* rgb */ color: rgb(255, 247, 109);
/* oklch */ color: oklch(95.7% 0.158 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff99b',
    500: '#fff76d',
    950: '#000000',
  },
}
SCSS
$custom: #fff76d;
$custom-light: #fff99b;
$custom-dark: #000000;
JSON
{
  "hex": "#fff76d",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 109
  },
  "hsl": {
    "h": 56.712,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95662,
    "c": 0.15789,
    "h": 105.9
  },
  "luminance": 0.88886
}

Semantic roles & 50–950 ramp

primary
#FFF76D
secondary
#353EDB
accent
#0DE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFF76D

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

Preview Lab → · Contrast checker → · Palette generator →

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