#F7F879#F7F879

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

Color values

HEX#F7F879
RGBrgb(247, 248, 121)
HSLhsl(60, 90%, 72%)
HSVhsv(60, 51%, 97%)
CMYKcmyk(0.4%, 0%, 51.2%, 2.7%)
CIE-LABlab(95.28, -16.86, 60.07)
CIE-LCHlch(95.28, 62.39, 105.67°)
OKLaboklab(95.35% -0.0495 0.141)
OKLCHoklch(95.35% 0.149 109.3)
XYZxyz(75.3782, 88.2913, 31.1566)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F879 #7A79F8
analogous
#F8B979 #F7F879 #B8F879
triadic
#F7F879 #79F7F8 #F879F7
tetradic
#F7F879 #79F8B9 #7A79F8 #F879B8
square
#F7F879 #79F8B9 #7A79F8 #F879B8
split-complementary
#F7F879 #79B8F8 #B979F8
monochromatic
#E9EA0C #F4F53F #F7F879 #FAFBB3 #FDFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7F879#FFFFFF#000000##000000
##F7F8791.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)
#FFEF6D
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f879;
/* rgb */ color: rgb(247, 248, 121);
/* oklch */ color: oklch(95.3% 0.149 109.3);
Tailwind
colors: {
  custom: {
    50: '#fcfaa3',
    500: '#f7f879',
    950: '#000000',
  },
}
SCSS
$custom: #f7f879;
$custom-light: #fcfaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f879",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 60.472,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95349,
    "c": 0.1494,
    "h": 109.3
  },
  "luminance": 0.88289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F879

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

Preview Lab → · Contrast checker → · Palette generator →

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