#F7F87A#F7F87A

#F7F87A is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.148 H 109.3°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F7F87A
RGBrgb(247, 248, 122)
HSLhsl(60, 90%, 73%)
HSVhsv(60, 51%, 97%)
CMYKcmyk(0.4%, 0%, 50.8%, 2.7%)
CIE-LABlab(95.29, -16.78, 59.64)
CIE-LCHlch(95.29, 61.95, 105.71°)
OKLaboklab(95.36% -0.0491 0.1401)
OKLCHoklch(95.36% 0.148 109.3)
XYZxyz(75.4398, 88.3159, 31.4813)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F87A #7B7AF8
analogous
#F8BA7A #F7F87A #B8F87A
triadic
#F7F87A #7AF7F8 #F87AF7
tetradic
#F7F87A #7AF8BA #7B7AF8 #F87AB8
square
#F7F87A #7AF8BA #7B7AF8 #F87AB8
split-complementary
#F7F87A #7AB8F8 #BA7AF8
monochromatic
#E9EB0C #F4F540 #F7F87A #FAFBB4 #FDFDE2

Accessibility & contrast

On white

1.13
#F7F87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#F7F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F87A
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F87A#FFFFFF#000000##000000
##F7F87A1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF481
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f87a;
/* rgb */ color: rgb(247, 248, 122);
/* oklch */ color: oklch(95.4% 0.148 109.3);
Tailwind
colors: {
  custom: {
    50: '#fcfaa4',
    500: '#f7f87a',
    950: '#000000',
  },
}
SCSS
$custom: #f7f87a;
$custom-light: #fcfaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f87a",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 60.476,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95361,
    "c": 0.14849,
    "h": 109.3
  },
  "luminance": 0.88314
}

Semantic roles & 50–950 ramp

primary
#F7F87A
secondary
#4342D4
accent
#00E602
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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