#F7FE87#F7FE87

#F7FE87 is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 96.8% C 0.143 H 111.8°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#F7FE87
RGBrgb(247, 254, 135)
HSLhsl(64, 98%, 76%)
HSVhsv(64, 47%, 100%)
CMYKcmyk(2.8%, 0%, 46.9%, 0.4%)
CIE-LABlab(96.99, -18.55, 55.70)
CIE-LCHlch(96.99, 58.71, 108.42°)
OKLaboklab(96.76% -0.0529 0.1326)
OKLCHoklch(96.76% 0.143 111.8)
XYZxyz(78.1741, 92.4085, 36.6355)
Luminance0.9241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FE87 #8E87FE
analogous
#FECA87 #F7FE87 #BCFE87
triadic
#F7FE87 #87F7FE #FE87F7
tetradic
#F7FE87 #87FECA #8E87FE #FE87BC
square
#F7FE87 #87FECA #8E87FE #FE87BC
split-complementary
#F7FE87 #87BCFE #CA87FE
monochromatic
#EFFD0E #F3FD4A #F7FE87 #FBFFC4 #FDFFE1

Accessibility & contrast

On white

1.08
#F7FE87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.48
#F7FE87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FE87
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FE87#FFFFFF#000000##000000
##F7FE871.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF57D
Deuteranopia (green-blind)
#FFF88D
Tritanopia (blue-blind)
#FFF2E2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f7fe87;
/* rgb */ color: rgb(247, 254, 135);
/* oklch */ color: oklch(96.8% 0.143 111.8);
Tailwind
colors: {
  custom: {
    50: '#fcfeac',
    500: '#f7fe87',
    950: '#000000',
  },
}
SCSS
$custom: #f7fe87;
$custom-light: #fcfeac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fe87",
  "rgb": {
    "r": 247,
    "g": 254,
    "b": 135
  },
  "hsl": {
    "h": 63.529,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.96757,
    "c": 0.1428,
    "h": 111.8
  },
  "luminance": 0.92407
}

Semantic roles & 50–950 ramp

primary
#F7FE87
secondary
#544BDE
accent
#00E60D
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7FE87

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

Preview Lab → · Contrast checker → · Palette generator →

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