#F8F76F#F8F76F

#F8F76F is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.1% C 0.157 H 108.7°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#F8F76F
RGBrgb(248, 247, 111)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 55%, 97%)
CMYKcmyk(0%, 0.4%, 55.2%, 2.7%)
CIE-LABlab(95.00, -16.75, 64.19)
CIE-LCHlch(95.00, 66.34, 104.62°)
OKLaboklab(95.11% -0.0502 0.1488)
OKLCHoklch(95.11% 0.157 108.7)
XYZxyz(74.8435, 87.6277, 28.0071)
Luminance0.8763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F76F #6F70F8
analogous
#F8B26F #F8F76F #B4F86F
triadic
#F8F76F #6FF8F7 #F76FF8
tetradic
#F8F76F #6FF8B2 #6F70F8 #F86FB4
square
#F8F76F #6FF8B2 #6F70F8 #F86FB4
split-complementary
#F8F76F #6FB4F8 #B26FF8
monochromatic
#E2E00B #F5F435 #F8F76F #FBFAA9 #FEFDE2

Accessibility & contrast

On white

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

On black

18.53
#F8F76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F76F
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F76F#FFFFFF#000000##000000
##F8F76F1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE61
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f76f;
/* rgb */ color: rgb(248, 247, 111);
/* oklch */ color: oklch(95.1% 0.157 108.7);
Tailwind
colors: {
  custom: {
    50: '#fdf99d',
    500: '#f8f76f',
    950: '#000000',
  },
}
SCSS
$custom: #f8f76f;
$custom-light: #fdf99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f76f",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 59.562,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95113,
    "c": 0.15702,
    "h": 108.7
  },
  "luminance": 0.87626
}

Semantic roles & 50–950 ramp

primary
#F8F76F
secondary
#383AD3
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F76F

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

Preview Lab → · Contrast checker → · Palette generator →

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