#FFF976#FFF976

#FFF976 is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.2% C 0.152 H 106.5°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FFF976
RGBrgb(255, 249, 118)
HSLhsl(57, 100%, 73%)
HSVhsv(57, 54%, 100%)
CMYKcmyk(0%, 2.4%, 53.7%, 0%)
CIE-LABlab(96.13, -14.43, 62.55)
CIE-LCHlch(96.13, 64.19, 102.99°)
OKLaboklab(96.16% -0.0433 0.1459)
OKLCHoklch(96.16% 0.152 106.5)
XYZxyz(78.3879, 90.3217, 30.4406)
Luminance0.9032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF976 #767CFF
analogous
#FFB476 #FFF976 #C1FF76
triadic
#FFF976 #76FFF9 #F976FF
tetradic
#FFF976 #76FFB4 #767CFF #FF76C1
square
#FFF976 #76FFB4 #767CFF #FF76C1
split-complementary
#FFF976 #76C1FF #B476FF
monochromatic
#FBF000 #FFF639 #FFF976 #FFFCB3 #FFFEE0

Accessibility & contrast

On white

1.10
#FFF976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.06
#FFF976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF976
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF976#FFFFFF#000000##000000
##FFF9761.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF169
Deuteranopia (green-blind)
#FFF67D
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fff976;
/* rgb */ color: rgb(255, 249, 118);
/* oklch */ color: oklch(96.2% 0.152 106.5);
Tailwind
colors: {
  custom: {
    50: '#fffba1',
    500: '#fff976',
    950: '#000000',
  },
}
SCSS
$custom: #fff976;
$custom-light: #fffba1;
$custom-dark: #000000;
JSON
{
  "hex": "#fff976",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 57.372,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96164,
    "c": 0.15217,
    "h": 106.5
  },
  "luminance": 0.90319
}

Semantic roles & 50–950 ramp

primary
#FFF976
secondary
#3D44DD
accent
#0AE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF976

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

Preview Lab → · Contrast checker → · Palette generator →

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