#F7F787#F7F787

#F7F787 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.3% C 0.135 H 108.7°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#F7F787
RGBrgb(247, 247, 135)
HSLhsl(60, 88%, 75%)
HSVhsv(60, 45%, 97%)
CMYKcmyk(0%, 0%, 45.3%, 3.1%)
CIE-LABlab(95.18, -15.16, 53.51)
CIE-LCHlch(95.18, 55.62, 105.82°)
OKLaboklab(95.32% -0.0433 0.1278)
OKLCHoklch(95.32% 0.135 108.7)
XYZxyz(75.9932, 88.0467, 35.9085)
Luminance0.8804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F787 #8787F7
analogous
#F7BF87 #F7F787 #BFF787
triadic
#F7F787 #87F7F7 #F787F7
tetradic
#F7F787 #87F7BF #8787F7 #F787BF
square
#F7F787 #87F7BF #8787F7 #F787BF
split-complementary
#F7F787 #87BFF7 #BF87F7
monochromatic
#EFEF14 #F3F34E #F7F787 #FBFBC0 #FDFDE2

Accessibility & contrast

On white

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

On black

18.61
#F7F787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F787
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F787#FFFFFF#000000##000000
##F7F7871.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7D
Deuteranopia (green-blind)
#FFF38C
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f787;
/* rgb */ color: rgb(247, 247, 135);
/* oklch */ color: oklch(95.3% 0.135 108.7);
Tailwind
colors: {
  custom: {
    50: '#fcf9ac',
    500: '#f7f787',
    950: '#000000',
  },
}
SCSS
$custom: #f7f787;
$custom-light: #fcf9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f787",
  "rgb": {
    "r": 247,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 60,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95317,
    "c": 0.13492,
    "h": 108.7
  },
  "luminance": 0.88045
}

Semantic roles & 50–950 ramp

primary
#F7F787
secondary
#4E4ED4
accent
#01E401
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F787

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

Preview Lab → · Contrast checker → · Palette generator →

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