#F8F77E#F8F77E

#F8F77E is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.3% C 0.144 H 108.4°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#F8F77E
RGBrgb(248, 247, 126)
HSLhsl(60, 90%, 73%)
HSVhsv(60, 49%, 97%)
CMYKcmyk(0%, 0.4%, 49.2%, 2.7%)
CIE-LABlab(95.16, -15.56, 57.67)
CIE-LCHlch(95.16, 59.74, 105.10°)
OKLaboklab(95.28% -0.0453 0.1362)
OKLCHoklch(95.28% 0.144 108.4)
XYZxyz(75.7398, 87.9862, 32.7279)
Luminance0.8798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F77E #7E7FF8
analogous
#F8BA7E #F8F77E #BCF87E
triadic
#F8F77E #7EF8F7 #F77EF8
tetradic
#F8F77E #7EF8BA #7E7FF8 #F87EBC
square
#F8F77E #7EF8BA #7E7FF8 #F87EBC
split-complementary
#F8F77E #7EBCF8 #BA7EF8
monochromatic
#EFED0D #F5F344 #F8F77E #FBFBB8 #FDFDE2

Accessibility & contrast

On white

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

On black

18.60
#F8F77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F77E
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F77E#FFFFFF#000000##000000
##F8F77E1.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF73
Deuteranopia (green-blind)
#FFF384
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f77e;
/* rgb */ color: rgb(248, 247, 126);
/* oklch */ color: oklch(95.3% 0.144 108.4);
Tailwind
colors: {
  custom: {
    50: '#fdf9a6',
    500: '#f8f77e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f77e;
$custom-light: #fdf9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f77e",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 126
  },
  "hsl": {
    "h": 59.508,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95283,
    "c": 0.14355,
    "h": 108.4
  },
  "luminance": 0.87984
}

Semantic roles & 50–950 ramp

primary
#F8F77E
secondary
#4647D5
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F8F77E

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

Preview Lab → · Contrast checker → · Palette generator →

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