#F8DF66#F8DF66

#F8DF66 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.1% C 0.142 H 97.7°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#F8DF66
RGBrgb(248, 223, 102)
HSLhsl(50, 91%, 69%)
HSVhsv(50, 59%, 97%)
CMYKcmyk(0%, 10.1%, 58.9%, 2.7%)
CIE-LABlab(88.78, -5.54, 61.13)
CIE-LCHlch(88.78, 61.38, 95.17°)
OKLaboklab(90.14% -0.0192 0.1412)
OKLCHoklch(90.14% 0.142 97.7)
XYZxyz(67.5000, 73.6941, 23.2367)
Luminance0.7369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF66 #667FF8
analogous
#F89666 #F8DF66 #C8F866
triadic
#F8DF66 #66F8DF #DF66F8
tetradic
#F8DF66 #66F896 #667FF8 #F866C8
square
#F8DF66 #66F896 #667FF8 #F866C8
split-complementary
#F8DF66 #66C8F8 #9666F8
monochromatic
#DAB60A #F5D32B #F8DF66 #FBEBA1 #FDF7DB

Accessibility & contrast

On white

1.33
#F8DF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#F8DF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF66
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF66#FFFFFF#000000##000000
##F8DF661.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA59
Deuteranopia (green-blind)
#F9E36C
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df66;
/* rgb */ color: rgb(248, 223, 102);
/* oklch */ color: oklch(90.1% 0.142 97.7);
Tailwind
colors: {
  custom: {
    50: '#fee896',
    500: '#f8df66',
    950: '#000000',
  },
}
SCSS
$custom: #f8df66;
$custom-light: #fee896;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df66",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 102
  },
  "hsl": {
    "h": 49.726,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90139,
    "c": 0.14247,
    "h": 97.7
  },
  "luminance": 0.73691
}

Semantic roles & 50–950 ramp

primary
#F8DF66
secondary
#314CD2
accent
#27E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DF66

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

Preview Lab → · Contrast checker → · Palette generator →

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