#F8F766#F8F766

#F8F766 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.0% C 0.164 H 108.8°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#F8F766
RGBrgb(248, 247, 102)
HSLhsl(60, 91%, 69%)
HSVhsv(60, 59%, 97%)
CMYKcmyk(0%, 0.4%, 58.9%, 2.7%)
CIE-LABlab(94.92, -17.38, 67.93)
CIE-LCHlch(94.92, 70.11, 104.35°)
OKLaboklab(95.02% -0.0529 0.1556)
OKLCHoklch(95.02% 0.164 108.8)
XYZxyz(74.3727, 87.4394, 25.5276)
Luminance0.8744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F766 #6667F8
analogous
#F8AE66 #F8F766 #B0F866
triadic
#F8F766 #66F8F7 #F766F8
tetradic
#F8F766 #66F8AE #6667F8 #F866B0
square
#F8F766 #66F8AE #6667F8 #F866B0
split-complementary
#F8F766 #66B0F8 #AE66F8
monochromatic
#DAD80A #F5F42B #F8F766 #FBFAA1 #FDFDDB

Accessibility & contrast

On white

1.14
#F8F766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#F8F766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F766
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F766#FFFFFF#000000##000000
##F8F7661.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE55
Deuteranopia (green-blind)
#FFF36F
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f766;
/* rgb */ color: rgb(248, 247, 102);
/* oklch */ color: oklch(95.0% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#fef997',
    500: '#f8f766',
    950: '#000000',
  },
}
SCSS
$custom: #f8f766;
$custom-light: #fef997;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f766",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 59.589,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.95024,
    "c": 0.1644,
    "h": 108.8
  },
  "luminance": 0.87437
}

Semantic roles & 50–950 ramp

primary
#F8F766
secondary
#3132D2
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F766

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

Preview Lab → · Contrast checker → · Palette generator →

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