#F7E877#F7E877

#F7E877 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.1% C 0.135 H 101.8°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#F7E877
RGBrgb(247, 232, 119)
HSLhsl(53, 89%, 72%)
HSVhsv(53, 52%, 97%)
CMYKcmyk(0%, 6.1%, 51.8%, 3.1%)
CIE-LABlab(91.15, -9.16, 56.15)
CIE-LCHlch(91.15, 56.89, 99.27°)
OKLaboklab(92.06% -0.0277 0.1323)
OKLCHoklch(92.06% 0.135 101.8)
XYZxyz(70.5463, 78.8218, 28.9472)
Luminance0.7882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E877 #7786F7
analogous
#F7A877 #F7E877 #C6F777
triadic
#F7E877 #77F7E8 #E877F7
tetradic
#F7E877 #77F7A8 #7786F7 #F777C6
square
#F7E877 #77F7A8 #7786F7 #F777C6
split-complementary
#F7E877 #77C6F7 #A877F7
monochromatic
#E6CD0E #F4DE3D #F7E877 #FAF2B1 #FDFAE2

Accessibility & contrast

On white

1.25
#F7E877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#F7E877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E877
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E877#FFFFFF#000000##000000
##F7E8771.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26D
Deuteranopia (green-blind)
#FEE97C
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e877;
/* rgb */ color: rgb(247, 232, 119);
/* oklch */ color: oklch(92.1% 0.135 101.8);
Tailwind
colors: {
  custom: {
    50: '#fcefa1',
    500: '#f7e877',
    950: '#000000',
  },
}
SCSS
$custom: #f7e877;
$custom-light: #fcefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e877",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 52.969,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92058,
    "c": 0.13512,
    "h": 101.8
  },
  "luminance": 0.78819
}

Semantic roles & 50–950 ramp

primary
#F7E877
secondary
#4051D2
accent
#1BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E877

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

Preview Lab → · Contrast checker → · Palette generator →

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