#F8F77A#F8F77A

#F8F77A is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.147 H 108.5°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#F8F77A
RGBrgb(248, 247, 122)
HSLhsl(60, 90%, 73%)
HSVhsv(60, 51%, 97%)
CMYKcmyk(0%, 0.4%, 50.8%, 2.7%)
CIE-LABlab(95.11, -15.90, 59.44)
CIE-LCHlch(95.11, 61.53, 104.97°)
OKLaboklab(95.24% -0.0467 0.1397)
OKLCHoklch(95.24% 0.147 108.5)
XYZxyz(75.4869, 87.8850, 31.3956)
Luminance0.8788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F77A #7A7BF8
analogous
#F8B87A #F8F77A #BAF87A
triadic
#F8F77A #7AF8F7 #F77AF8
tetradic
#F8F77A #7AF8B8 #7A7BF8 #F87ABA
square
#F8F77A #7AF8B8 #7A7BF8 #F87ABA
split-complementary
#F8F77A #7ABAF8 #B87AF8
monochromatic
#EBE90C #F5F440 #F8F77A #FBFAB4 #FDFDE2

Accessibility & contrast

On white

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

On black

18.58
#F8F77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F77A
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F77A#FFFFFF#000000##000000
##F8F77A1.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f77a;
/* rgb */ color: rgb(248, 247, 122);
/* oklch */ color: oklch(95.2% 0.147 108.5);
Tailwind
colors: {
  custom: {
    50: '#fdf9a4',
    500: '#f8f77a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f77a;
$custom-light: #fdf9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f77a",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 122
  },
  "hsl": {
    "h": 59.524,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95235,
    "c": 0.14728,
    "h": 108.5
  },
  "luminance": 0.87883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F77A

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

Preview Lab → · Contrast checker → · Palette generator →

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