#F7E879#F7E879

#F7E879 is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 92.1% C 0.133 H 101.7°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#F7E879
RGBrgb(247, 232, 121)
HSLhsl(53, 89%, 72%)
HSVhsv(53, 51%, 97%)
CMYKcmyk(0%, 6.1%, 51%, 3.1%)
CIE-LABlab(91.18, -9.00, 55.24)
CIE-LCHlch(91.18, 55.97, 99.25°)
OKLaboklab(92.08% -0.027 0.1305)
OKLCHoklch(92.08% 0.133 101.7)
XYZxyz(70.6677, 78.8703, 29.5865)
Luminance0.7887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E879 #7988F7
analogous
#F7A979 #F7E879 #C7F779
triadic
#F7E879 #79F7E8 #E879F7
tetradic
#F7E879 #79F7A9 #7988F7 #F779C7
square
#F7E879 #79F7A9 #7988F7 #F779C7
split-complementary
#F7E879 #79C7F7 #A979F7
monochromatic
#E8CE0E #F4DE3F #F7E879 #FAF2B3 #FDFAE2

Accessibility & contrast

On white

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

On black

16.77
#F7E879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E879
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E879#FFFFFF#000000##000000
##F7E8791.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e879;
/* rgb */ color: rgb(247, 232, 121);
/* oklch */ color: oklch(92.1% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#fcefa2',
    500: '#f7e879',
    950: '#000000',
  },
}
SCSS
$custom: #f7e879;
$custom-light: #fcefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e879",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 121
  },
  "hsl": {
    "h": 52.857,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92082,
    "c": 0.13323,
    "h": 101.7
  },
  "luminance": 0.78868
}

Semantic roles & 50–950 ramp

primary
#F7E879
secondary
#4153D3
accent
#1BE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E879

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

Preview Lab → · Contrast checker → · Palette generator →

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