#F8F77C#F8F77C

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

Color values

HEX#F8F77C
RGBrgb(248, 247, 124)
HSLhsl(60, 90%, 73%)
HSVhsv(60, 50%, 97%)
CMYKcmyk(0%, 0.4%, 50%, 2.7%)
CIE-LABlab(95.13, -15.73, 58.56)
CIE-LCHlch(95.13, 60.64, 105.04°)
OKLaboklab(95.26% -0.046 0.138)
OKLCHoklch(95.26% 0.145 108.4)
XYZxyz(75.6121, 87.9351, 32.0550)
Luminance0.8793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F77C #7C7DF8
analogous
#F8B97C #F8F77C #BBF87C
triadic
#F8F77C #7CF8F7 #F77CF8
tetradic
#F8F77C #7CF8B9 #7C7DF8 #F87CBB
square
#F8F77C #7CF8B9 #7C7DF8 #F87CBB
split-complementary
#F8F77C #7CBBF8 #B97CF8
monochromatic
#EDEB0D #F5F342 #F8F77C #FBFBB6 #FDFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F77C#FFFFFF#000000##000000
##F8F77C1.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)
#FFEE71
Deuteranopia (green-blind)
#FFF382
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f77c;
/* rgb */ color: rgb(248, 247, 124);
/* oklch */ color: oklch(95.3% 0.145 108.4);
Tailwind
colors: {
  custom: {
    50: '#fdf9a5',
    500: '#f8f77c',
    950: '#000000',
  },
}
SCSS
$custom: #f8f77c;
$custom-light: #fdf9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f77c",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 59.516,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95259,
    "c": 0.14542,
    "h": 108.4
  },
  "luminance": 0.87933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F77C

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

Preview Lab → · Contrast checker → · Palette generator →

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