#F8DE5C#F8DE5C

#F8DE5C is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.8% C 0.150 H 98.0°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#F8DE5C
RGBrgb(248, 222, 92)
HSLhsl(50, 92%, 67%)
HSVhsv(50, 63%, 97%)
CMYKcmyk(0%, 10.5%, 62.9%, 2.7%)
CIE-LABlab(88.44, -5.68, 65.08)
CIE-LCHlch(88.44, 65.32, 94.99°)
OKLaboklab(89.84% -0.0207 0.1482)
OKLCHoklch(89.84% 0.15 98)
XYZxyz(66.7673, 72.9748, 20.6918)
Luminance0.7297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE5C #5C76F8
analogous
#F8905C #F8DE5C #C4F85C
triadic
#F8DE5C #5CF8DE #DE5CF8
tetradic
#F8DE5C #5CF890 #5C76F8 #F85CC4
square
#F8DE5C #5CF890 #5C76F8 #F85CC4
split-complementary
#F8DE5C #5CC4F8 #905CF8
monochromatic
#D1AF09 #F5D221 #F8DE5C #FBEA97 #FDF6D1

Accessibility & contrast

On white

1.35
#F8DE5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#F8DE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DE5C
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DE5C#FFFFFF#000000##000000
##F8DE5C1.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D94D
Deuteranopia (green-blind)
#F9E263
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8de5c;
/* rgb */ color: rgb(248, 222, 92);
/* oklch */ color: oklch(89.8% 0.150 98.0);
Tailwind
colors: {
  custom: {
    50: '#fee88f',
    500: '#f8de5c',
    950: '#000000',
  },
}
SCSS
$custom: #f8de5c;
$custom-light: #fee88f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de5c",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 92
  },
  "hsl": {
    "h": 50,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8984,
    "c": 0.14968,
    "h": 98
  },
  "luminance": 0.72972
}

Semantic roles & 50–950 ramp

primary
#F8DE5C
secondary
#2C47CC
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F8DE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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