#F8F77B#F8F77B

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

Color values

HEX#F8F77B
RGBrgb(248, 247, 123)
HSLhsl(60, 90%, 73%)
HSVhsv(60, 50%, 97%)
CMYKcmyk(0%, 0.4%, 50.4%, 2.7%)
CIE-LABlab(95.12, -15.82, 59.00)
CIE-LCHlch(95.12, 61.09, 105.01°)
OKLaboklab(95.25% -0.0464 0.1388)
OKLCHoklch(95.25% 0.146 108.5)
XYZxyz(75.5491, 87.9099, 31.7236)
Luminance0.8791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F77B #7B7CF8
analogous
#F8B87B #F8F77B #BAF87B
triadic
#F8F77B #7BF8F7 #F77BF8
tetradic
#F8F77B #7BF8B8 #7B7CF8 #F87BBA
square
#F8F77B #7BF8B8 #7B7CF8 #F87BBA
split-complementary
#F8F77B #7BBAF8 #B87BF8
monochromatic
#ECEA0D #F5F341 #F8F77B #FBFBB5 #FDFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F77B#FFFFFF#000000##000000
##F8F77B1.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)
#FFEE6F
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f77b;
/* rgb */ color: rgb(248, 247, 123);
/* oklch */ color: oklch(95.2% 0.146 108.5);
Tailwind
colors: {
  custom: {
    50: '#fdf9a4',
    500: '#f8f77b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f77b;
$custom-light: #fdf9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f77b",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 123
  },
  "hsl": {
    "h": 59.52,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95247,
    "c": 0.14636,
    "h": 108.5
  },
  "luminance": 0.87908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F77B

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

Preview Lab → · Contrast checker → · Palette generator →

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