#F7FA87#F7FA87

#F7FA87 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.9% C 0.138 H 110.1°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#F7FA87
RGBrgb(247, 250, 135)
HSLhsl(62, 92%, 75%)
HSVhsv(62, 46%, 98%)
CMYKcmyk(1.2%, 0%, 46%, 2%)
CIE-LABlab(95.95, -16.62, 54.45)
CIE-LCHlch(95.95, 56.93, 106.97°)
OKLaboklab(95.93% -0.0474 0.1299)
OKLCHoklch(95.93% 0.138 110.1)
XYZxyz(76.9180, 89.8962, 36.2168)
Luminance0.8990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FA87 #8A87FA
analogous
#FAC387 #F7FA87 #BDFA87
triadic
#F7FA87 #87F7FA #FA87F7
tetradic
#F7FA87 #87FAC3 #8A87FA #FA87BD
square
#F7FA87 #87FAC3 #8A87FA #FA87BD
split-complementary
#F7FA87 #87BDFA #C387FA
monochromatic
#EFF511 #F3F84C #F7FA87 #FBFCC2 #FDFEE2

Accessibility & contrast

On white

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

On black

18.98
#F7FA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FA87
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FA87#FFFFFF#000000##000000
##F7FA871.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17D
Deuteranopia (green-blind)
#FFF58D
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f7fa87;
/* rgb */ color: rgb(247, 250, 135);
/* oklch */ color: oklch(95.9% 0.138 110.1);
Tailwind
colors: {
  custom: {
    50: '#fcfbac',
    500: '#f7fa87',
    950: '#000000',
  },
}
SCSS
$custom: #f7fa87;
$custom-light: #fcfbac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fa87",
  "rgb": {
    "r": 247,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 61.565,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95933,
    "c": 0.13826,
    "h": 110.1
  },
  "luminance": 0.89895
}

Semantic roles & 50–950 ramp

primary
#F7FA87
secondary
#504DD8
accent
#00E606
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7FA87

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

Preview Lab → · Contrast checker → · Palette generator →

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