#FFF76E#FFF76E

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

Color values

HEX#FFF76E
RGBrgb(255, 247, 110)
HSLhsl(57, 100%, 72%)
HSVhsv(57, 57%, 100%)
CMYKcmyk(0%, 3.1%, 56.9%, 0%)
CIE-LABlab(95.54, -14.04, 65.38)
CIE-LCHlch(95.54, 66.87, 102.12°)
OKLaboklab(95.67% -0.043 0.1511)
OKLCHoklch(95.67% 0.157 105.9)
XYZxyz(77.3177, 88.9098, 27.8373)
Luminance0.8891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF76E #6E76FF
analogous
#FFAF6E #FFF76E #BFFF6E
triadic
#FFF76E #6EFFF7 #F76EFF
tetradic
#FFF76E #6EFFAF #6E76FF #FF6EBF
square
#FFF76E #6EFFAF #6E76FF #FF6EBF
split-complementary
#FFF76E #6EBFFF #AF6EFF
monochromatic
#F3E500 #FFF431 #FFF76E #FFFAAB #FFFDE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFF76E#FFFFFF#000000##000000
##FFF76E1.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)
#FFEF5F
Deuteranopia (green-blind)
#FFF575
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff76e;
/* rgb */ color: rgb(255, 247, 110);
/* oklch */ color: oklch(95.7% 0.157 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff99c',
    500: '#fff76e',
    950: '#000000',
  },
}
SCSS
$custom: #fff76e;
$custom-light: #fff99c;
$custom-dark: #000000;
JSON
{
  "hex": "#fff76e",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 110
  },
  "hsl": {
    "h": 56.69,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95673,
    "c": 0.15706,
    "h": 105.9
  },
  "luminance": 0.88907
}

Semantic roles & 50–950 ramp

primary
#FFF76E
secondary
#363FDB
accent
#0DE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFF76E

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

Preview Lab → · Contrast checker → · Palette generator →

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