#F8D766#F8D766

#F8D766 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.5% C 0.137 H 93.2°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#F8D766
RGBrgb(248, 215, 102)
HSLhsl(46, 91%, 69%)
HSVhsv(46, 59%, 97%)
CMYKcmyk(0%, 13.3%, 58.9%, 2.7%)
CIE-LABlab(86.76, -1.49, 58.86)
CIE-LCHlch(86.76, 58.88, 91.45°)
OKLaboklab(88.54% -0.0075 0.1363)
OKLCHoklch(88.54% 0.137 93.2)
XYZxyz(65.4130, 69.5199, 22.5410)
Luminance0.6952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D766 #6687F8
analogous
#F88E66 #F8D766 #D0F866
triadic
#F8D766 #66F8D7 #D766F8
tetradic
#F8D766 #66F88E #6687F8 #F866D0
square
#F8D766 #66F88E #6687F8 #F866D0
split-complementary
#F8D766 #66D0F8 #8E66F8
monochromatic
#DAAB0A #F5C82B #F8D766 #FBE6A1 #FDF6DB

Accessibility & contrast

On white

1.41
#F8D766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#F8D766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D766
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D766#FFFFFF#000000##000000
##F8D7661.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45B
Deuteranopia (green-blind)
#F3DD6B
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d766;
/* rgb */ color: rgb(248, 215, 102);
/* oklch */ color: oklch(88.5% 0.137 93.2);
Tailwind
colors: {
  custom: {
    50: '#fee395',
    500: '#f8d766',
    950: '#000000',
  },
}
SCSS
$custom: #f8d766;
$custom-light: #fee395;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d766",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 102
  },
  "hsl": {
    "h": 46.438,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88544,
    "c": 0.13651,
    "h": 93.2
  },
  "luminance": 0.69517
}

Semantic roles & 50–950 ramp

primary
#F8D766
secondary
#3155D2
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D766

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

Preview Lab → · Contrast checker → · Palette generator →

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