#F8DE68#F8DE68

#F8DE68 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 90.0% C 0.140 H 97.0°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#F8DE68
RGBrgb(248, 222, 104)
HSLhsl(49, 91%, 69%)
HSVhsv(49, 58%, 97%)
CMYKcmyk(0%, 10.5%, 58.1%, 2.7%)
CIE-LABlab(88.54, -4.89, 59.98)
CIE-LCHlch(88.54, 60.18, 94.66°)
OKLaboklab(89.96% -0.0171 0.1389)
OKLCHoklch(89.96% 0.14 97)
XYZxyz(67.3340, 73.2015, 23.6766)
Luminance0.7320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE68 #6882F8
analogous
#F89668 #F8DE68 #CAF868
triadic
#F8DE68 #68F8DE #DE68F8
tetradic
#F8DE68 #68F896 #6882F8 #F868CA
square
#F8DE68 #68F896 #6882F8 #F868CA
split-complementary
#F8DE68 #68CAF8 #9668F8
monochromatic
#DBB60A #F5D12E #F8DE68 #FBEBA2 #FDF8DD

Accessibility & contrast

On white

1.34
#F8DE68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#F8DE68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DE68
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DE68#FFFFFF#000000##000000
##F8DE681.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D95C
Deuteranopia (green-blind)
#F8E26D
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8de68;
/* rgb */ color: rgb(248, 222, 104);
/* oklch */ color: oklch(90.0% 0.140 97.0);
Tailwind
colors: {
  custom: {
    50: '#fde897',
    500: '#f8de68',
    950: '#000000',
  },
}
SCSS
$custom: #f8de68;
$custom-light: #fde897;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de68",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 104
  },
  "hsl": {
    "h": 49.167,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8996,
    "c": 0.13999,
    "h": 97
  },
  "luminance": 0.73198
}

Semantic roles & 50–950 ramp

primary
#F8DE68
secondary
#324FD2
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DE68

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

Preview Lab → · Contrast checker → · Palette generator →

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