#FFF76F#FFF76F

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

Color values

HEX#FFF76F
RGBrgb(255, 247, 111)
HSLhsl(57, 100%, 72%)
HSVhsv(57, 56%, 100%)
CMYKcmyk(0%, 3.1%, 56.5%, 0%)
CIE-LABlab(95.55, -13.97, 64.96)
CIE-LCHlch(95.55, 66.44, 102.14°)
OKLaboklab(95.68% -0.0427 0.1503)
OKLCHoklch(95.68% 0.156 105.9)
XYZxyz(77.3724, 88.9317, 28.1257)
Luminance0.8893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF76F #6F77FF
analogous
#FFAF6F #FFF76F #BFFF6F
triadic
#FFF76F #6FFFF7 #F76FFF
tetradic
#FFF76F #6FFFAF #6F77FF #FF6FBF
square
#FFF76F #6FFFAF #6F77FF #FF6FBF
split-complementary
#FFF76F #6FBFFF #AF6FFF
monochromatic
#F4E600 #FFF432 #FFF76F #FFFAAC #FFFDE0

Accessibility & contrast

On white

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

On black

18.79
#FFF76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF76F
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF76F#FFFFFF#000000##000000
##FFF76F1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff76f;
/* rgb */ color: rgb(255, 247, 111);
/* oklch */ color: oklch(95.7% 0.156 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff99d',
    500: '#fff76f',
    950: '#000000',
  },
}
SCSS
$custom: #fff76f;
$custom-light: #fff99d;
$custom-dark: #000000;
JSON
{
  "hex": "#fff76f",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 56.667,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95683,
    "c": 0.15622,
    "h": 105.9
  },
  "luminance": 0.88929
}

Semantic roles & 50–950 ramp

primary
#FFF76F
secondary
#3740DC
accent
#0DE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF76F

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

Preview Lab → · Contrast checker → · Palette generator →

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