#FFF87F#FFF87F

#FFF87F is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.1% C 0.143 H 105.8°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FFF87F
RGBrgb(255, 248, 127)
HSLhsl(57, 100%, 75%)
HSVhsv(57, 50%, 100%)
CMYKcmyk(0%, 2.7%, 50.2%, 0%)
CIE-LABlab(95.97, -13.22, 58.31)
CIE-LCHlch(95.97, 59.79, 102.78°)
OKLaboklab(96.07% -0.0389 0.1376)
OKLCHoklch(96.07% 0.143 105.8)
XYZxyz(78.6402, 89.9294, 33.2901)
Luminance0.8993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF87F #7F86FF
analogous
#FFB87F #FFF87F #C6FF7F
triadic
#FFF87F #7FFFF8 #F87FFF
tetradic
#FFF87F #7FFFB8 #7F86FF #FF7FC6
square
#FFF87F #7FFFB8 #7F86FF #FF7FC6
split-complementary
#FFF87F #7FC6FF #B87FFF
monochromatic
#FFF105 #FFF542 #FFF87F #FFFBBC #FFFDE0

Accessibility & contrast

On white

1.11
#FFF87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.99
#FFF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF87F
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF87F#FFFFFF#000000##000000
##FFF87F1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF074
Deuteranopia (green-blind)
#FFF685
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff87f;
/* rgb */ color: rgb(255, 248, 127);
/* oklch */ color: oklch(96.1% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#fffaa7',
    500: '#fff87f',
    950: '#000000',
  },
}
SCSS
$custom: #fff87f;
$custom-light: #fffaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#fff87f",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 56.719,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.96065,
    "c": 0.14297,
    "h": 105.8
  },
  "luminance": 0.89927
}

Semantic roles & 50–950 ramp

primary
#FFF87F
secondary
#444DDE
accent
#0DE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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