#F8D66F#F8D66F

#F8D66F is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.4% C 0.128 H 91.4°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#F8D66F
RGBrgb(248, 214, 111)
HSLhsl(45, 91%, 70%)
HSVhsv(45, 55%, 97%)
CMYKcmyk(0%, 13.7%, 55.2%, 2.7%)
CIE-LABlab(86.60, -0.32, 54.54)
CIE-LCHlch(86.60, 54.54, 90.34°)
OKLaboklab(88.45% -0.0031 0.128)
OKLCHoklch(88.45% 0.128 91.4)
XYZxyz(65.6299, 69.2005, 24.9359)
Luminance0.6920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D66F #6F91F8
analogous
#F8916F #F8D66F #D6F86F
triadic
#F8D66F #6FF8D6 #D66FF8
tetradic
#F8D66F #6FF891 #6F91F8 #F86FD6
square
#F8D66F #6FF891 #6F91F8 #F86FD6
split-complementary
#F8D66F #6FD6F8 #916FF8
monochromatic
#E2AC0B #F5C535 #F8D66F #FBE7A9 #FEF7E2

Accessibility & contrast

On white

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

On black

14.84
#F8D66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D66F
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D66F#FFFFFF#000000##000000
##F8D66F1.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d66f;
/* rgb */ color: rgb(248, 214, 111);
/* oklch */ color: oklch(88.4% 0.128 91.4);
Tailwind
colors: {
  custom: {
    50: '#fde29b',
    500: '#f8d66f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d66f;
$custom-light: #fde29b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d66f",
  "rgb": {
    "r": 248,
    "g": 214,
    "b": 111
  },
  "hsl": {
    "h": 45.109,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88449,
    "c": 0.12801,
    "h": 91.4
  },
  "luminance": 0.69197
}

Semantic roles & 50–950 ramp

primary
#F8D66F
secondary
#385FD3
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D66F

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

Preview Lab → · Contrast checker → · Palette generator →

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