#F7F87F#F7F87F

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

Color values

HEX#F7F87F
RGBrgb(247, 248, 127)
HSLhsl(60, 90%, 74%)
HSVhsv(60, 49%, 97%)
CMYKcmyk(0.4%, 0%, 48.8%, 2.7%)
CIE-LABlab(95.35, -16.36, 57.42)
CIE-LCHlch(95.35, 59.71, 105.90°)
OKLaboklab(95.42% -0.0474 0.1358)
OKLCHoklch(95.42% 0.144 109.3)
XYZxyz(75.7576, 88.4430, 33.1550)
Luminance0.8844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F87F #807FF8
analogous
#F8BC7F #F7F87F #BAF87F
triadic
#F7F87F #7FF7F8 #F87FF7
tetradic
#F7F87F #7FF8BC #807FF8 #F87FBA
square
#F7F87F #7FF8BC #807FF8 #F87FBA
split-complementary
#F7F87F #7FBAF8 #BC7FF8
monochromatic
#EEF00D #F3F545 #F7F87F #FBFBB9 #FDFDE2

Accessibility & contrast

On white

1.12
#F7F87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.69
#F7F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F87F
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F87F#FFFFFF#000000##000000
##F7F87F1.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f87f;
/* rgb */ color: rgb(247, 248, 127);
/* oklch */ color: oklch(95.4% 0.144 109.3);
Tailwind
colors: {
  custom: {
    50: '#fcfaa7',
    500: '#f7f87f',
    950: '#000000',
  },
}
SCSS
$custom: #f7f87f;
$custom-light: #fcfaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f87f",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 60.496,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9542,
    "c": 0.14381,
    "h": 109.3
  },
  "luminance": 0.88441
}

Semantic roles & 50–950 ramp

primary
#F7F87F
secondary
#4846D5
accent
#00E602
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F7F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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