#F7F877#F7F877

#F7F877 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.3% C 0.151 H 109.4°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#F7F877
RGBrgb(247, 248, 119)
HSLhsl(60, 90%, 72%)
HSVhsv(60, 52%, 97%)
CMYKcmyk(0.4%, 0%, 52%, 2.7%)
CIE-LABlab(95.26, -17.02, 60.95)
CIE-LCHlch(95.26, 63.28, 105.60°)
OKLaboklab(95.33% -0.0501 0.1427)
OKLCHoklch(95.33% 0.151 109.4)
XYZxyz(75.2568, 88.2427, 30.5174)
Luminance0.8824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F877 #7877F8
analogous
#F8B977 #F7F877 #B7F877
triadic
#F7F877 #77F7F8 #F877F7
tetradic
#F7F877 #77F8B9 #7877F8 #F877B7
square
#F7F877 #77F8B9 #7877F8 #F877B7
split-complementary
#F7F877 #77B7F8 #B977F8
monochromatic
#E7E90C #F4F53D #F7F877 #FAFBB1 #FDFEE2

Accessibility & contrast

On white

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

On black

18.65
#F7F877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F877
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F877#FFFFFF#000000##000000
##F7F8771.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6A
Deuteranopia (green-blind)
#FFF47E
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f877;
/* rgb */ color: rgb(247, 248, 119);
/* oklch */ color: oklch(95.3% 0.151 109.4);
Tailwind
colors: {
  custom: {
    50: '#fcfaa2',
    500: '#f7f877',
    950: '#000000',
  },
}
SCSS
$custom: #f7f877;
$custom-light: #fcfaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f877",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 60.465,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95326,
    "c": 0.15121,
    "h": 109.4
  },
  "luminance": 0.88241
}

Semantic roles & 50–950 ramp

primary
#F7F877
secondary
#413FD4
accent
#00E602
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F877

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

Preview Lab → · Contrast checker → · Palette generator →

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