#F8F79C#F8F79C

#F8F79C is a very light, moderate yellow. Relative luminance 0.889; OKLCH L 95.7% C 0.113 H 107.8°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#F8F79C
RGBrgb(248, 247, 156)
HSLhsl(59, 87%, 79%)
HSVhsv(59, 37%, 97%)
CMYKcmyk(0%, 0.4%, 37.1%, 2.7%)
CIE-LABlab(95.53, -12.67, 43.88)
CIE-LCHlch(95.53, 45.67, 106.10°)
OKLaboklab(95.7% -0.0345 0.1074)
OKLCHoklch(95.7% 0.113 107.8)
XYZxyz(77.9739, 88.8799, 44.4940)
Luminance0.8888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F79C #9C9DF8
analogous
#F8C99C #F8F79C #CBF89C
triadic
#F8F79C #9CF8F7 #F79CF8
tetradic
#F8F79C #9CF8C9 #9C9DF8 #F89CCB
square
#F8F79C #9CF8C9 #9C9DF8 #F89CCB
split-complementary
#F8F79C #9CCBF8 #C99CF8
monochromatic
#F0EE2A #F4F263 #F8F79C #FCFCD5 #FDFDE2

Accessibility & contrast

On white

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

On black

18.78
#F8F79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F79C
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F79C#FFFFFF#000000##000000
##F8F79C1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF095
Deuteranopia (green-blind)
#FFF4A0
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f79c;
/* rgb */ color: rgb(248, 247, 156);
/* oklch */ color: oklch(95.7% 0.113 107.8);
Tailwind
colors: {
  custom: {
    50: '#fcf9ba',
    500: '#f8f79c',
    950: '#000000',
  },
}
SCSS
$custom: #f8f79c;
$custom-light: #fcf9ba;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f79c",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 156
  },
  "hsl": {
    "h": 59.348,
    "s": 86.792,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95703,
    "c": 0.11275,
    "h": 107.8
  },
  "luminance": 0.88878
}

Semantic roles & 50–950 ramp

primary
#F8F79C
secondary
#6061D8
accent
#05E302
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #F8F79C

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

Preview Lab → · Contrast checker → · Palette generator →

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