#F8DC66#F8DC66

#F8DC66 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.5% C 0.140 H 96.1°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#F8DC66
RGBrgb(248, 220, 102)
HSLhsl(48, 91%, 69%)
HSVhsv(48, 59%, 97%)
CMYKcmyk(0%, 11.3%, 58.9%, 2.7%)
CIE-LABlab(88.02, -4.02, 60.28)
CIE-LCHlch(88.02, 60.41, 93.82°)
OKLaboklab(89.54% -0.0148 0.1394)
OKLCHoklch(89.54% 0.14 96.1)
XYZxyz(66.7056, 72.1053, 22.9719)
Luminance0.7210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC66 #6682F8
analogous
#F89366 #F8DC66 #CBF866
triadic
#F8DC66 #66F8DC #DC66F8
tetradic
#F8DC66 #66F893 #6682F8 #F866CB
square
#F8DC66 #66F893 #6682F8 #F866CB
split-complementary
#F8DC66 #66CBF8 #9366F8
monochromatic
#DAB20A #F5CF2B #F8DC66 #FBE9A1 #FDF7DB

Accessibility & contrast

On white

1.36
#F8DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#F8DC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC66
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC66#FFFFFF#000000##000000
##F8DC661.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D85A
Deuteranopia (green-blind)
#F7E16B
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc66;
/* rgb */ color: rgb(248, 220, 102);
/* oklch */ color: oklch(89.5% 0.140 96.1);
Tailwind
colors: {
  custom: {
    50: '#fee695',
    500: '#f8dc66',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc66;
$custom-light: #fee695;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc66",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 102
  },
  "hsl": {
    "h": 48.493,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89539,
    "c": 0.14014,
    "h": 96.1
  },
  "luminance": 0.72102
}

Semantic roles & 50–950 ramp

primary
#F8DC66
secondary
#3150D2
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DC66

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

Preview Lab → · Contrast checker → · Palette generator →

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