#F8D66C#F8D66C

#F8D66C is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.4% C 0.131 H 91.8°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#F8D66C
RGBrgb(248, 214, 108)
HSLhsl(45, 91%, 70%)
HSVhsv(45, 56%, 97%)
CMYKcmyk(0%, 13.7%, 56.5%, 2.7%)
CIE-LABlab(86.57, -0.55, 55.90)
CIE-LCHlch(86.57, 55.90, 90.56°)
OKLaboklab(88.41% -0.0041 0.1306)
OKLCHoklch(88.41% 0.131 91.8)
XYZxyz(65.4675, 69.1356, 24.0806)
Luminance0.6913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D66C #6C8EF8
analogous
#F8906C #F8D66C #D4F86C
triadic
#F8D66C #6CF8D6 #D66CF8
tetradic
#F8D66C #6CF890 #6C8EF8 #F86CD4
square
#F8D66C #6CF890 #6C8EF8 #F86CD4
split-complementary
#F8D66C #6CD4F8 #906CF8
monochromatic
#DFAB0B #F5C632 #F8D66C #FBE6A6 #FEF7E1

Accessibility & contrast

On white

1.42
#F8D66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#F8D66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D66C
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D66C#FFFFFF#000000##000000
##F8D66C1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d66c;
/* rgb */ color: rgb(248, 214, 108);
/* oklch */ color: oklch(88.4% 0.131 91.8);
Tailwind
colors: {
  custom: {
    50: '#fde299',
    500: '#f8d66c',
    950: '#000000',
  },
}
SCSS
$custom: #f8d66c;
$custom-light: #fde299;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d66c",
  "rgb": {
    "r": 248,
    "g": 214,
    "b": 108
  },
  "hsl": {
    "h": 45.429,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88414,
    "c": 0.13066,
    "h": 91.8
  },
  "luminance": 0.69132
}

Semantic roles & 50–950 ramp

primary
#F8D66C
secondary
#365CD2
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D66C

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

Preview Lab → · Contrast checker → · Palette generator →

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