#F8F77D#F8F77D

#F8F77D 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.59:1 contrast (WCAG AA passes).

Color values

HEX#F8F77D
RGBrgb(248, 247, 125)
HSLhsl(60, 90%, 73%)
HSVhsv(60, 50%, 97%)
CMYKcmyk(0%, 0.4%, 49.6%, 2.7%)
CIE-LABlab(95.14, -15.65, 58.12)
CIE-LCHlch(95.14, 60.19, 105.07°)
OKLaboklab(95.27% -0.0457 0.1371)
OKLCHoklch(95.27% 0.144 108.4)
XYZxyz(75.6756, 87.9605, 32.3897)
Luminance0.8796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F77D #7D7EF8
analogous
#F8B97D #F8F77D #BBF87D
triadic
#F8F77D #7DF8F7 #F77DF8
tetradic
#F8F77D #7DF8B9 #7D7EF8 #F87DBB
square
#F8F77D #7DF8B9 #7D7EF8 #F87DBB
split-complementary
#F8F77D #7DBBF8 #B97DF8
monochromatic
#EEEC0D #F5F343 #F8F77D #FBFBB7 #FDFDE2

Accessibility & contrast

On white

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

On black

18.59
#F8F77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F77D
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F77D#FFFFFF#000000##000000
##F8F77D1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f77d;
/* rgb */ color: rgb(248, 247, 125);
/* oklch */ color: oklch(95.3% 0.144 108.4);
Tailwind
colors: {
  custom: {
    50: '#fdf9a5',
    500: '#f8f77d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f77d;
$custom-light: #fdf9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f77d",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 125
  },
  "hsl": {
    "h": 59.512,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95271,
    "c": 0.14449,
    "h": 108.4
  },
  "luminance": 0.87959
}

Semantic roles & 50–950 ramp

primary
#F8F77D
secondary
#4546D4
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F77D

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

Preview Lab → · Contrast checker → · Palette generator →

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