#F8DE6F#F8DE6F

#F8DE6F is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.134 H 96.4°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F8DE6F
RGBrgb(248, 222, 111)
HSLhsl(49, 91%, 70%)
HSVhsv(49, 55%, 97%)
CMYKcmyk(0%, 10.5%, 55.2%, 2.7%)
CIE-LABlab(88.61, -4.38, 56.88)
CIE-LCHlch(88.61, 57.05, 94.40°)
OKLaboklab(90.04% -0.0148 0.1331)
OKLCHoklch(90.04% 0.134 96.4)
XYZxyz(67.7045, 73.3497, 25.6275)
Luminance0.7335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE6F #6F89F8
analogous
#F8996F #F8DE6F #CDF86F
triadic
#F8DE6F #6FF8DE #DE6FF8
tetradic
#F8DE6F #6FF899 #6F89F8 #F86FCD
square
#F8DE6F #6FF899 #6F89F8 #F86FCD
split-complementary
#F8DE6F #6FCDF8 #996FF8
monochromatic
#E2B90B #F5D135 #F8DE6F #FBEBA9 #FEF8E2

Accessibility & contrast

On white

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

On black

15.67
#F8DE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DE6F
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DE6F#FFFFFF#000000##000000
##F8DE6F1.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA64
Deuteranopia (green-blind)
#F8E274
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8de6f;
/* rgb */ color: rgb(248, 222, 111);
/* oklch */ color: oklch(90.0% 0.134 96.4);
Tailwind
colors: {
  custom: {
    50: '#fde89b',
    500: '#f8de6f',
    950: '#000000',
  },
}
SCSS
$custom: #f8de6f;
$custom-light: #fde89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de6f",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 111
  },
  "hsl": {
    "h": 48.613,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90038,
    "c": 0.13387,
    "h": 96.4
  },
  "luminance": 0.73347
}

Semantic roles & 50–950 ramp

primary
#F8DE6F
secondary
#3856D3
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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