#F8DE71#F8DE71

#F8DE71 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.1% C 0.132 H 96.2°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#F8DE71
RGBrgb(248, 222, 113)
HSLhsl(48, 91%, 71%)
HSVhsv(48, 54%, 97%)
CMYKcmyk(0%, 10.5%, 54.4%, 2.7%)
CIE-LABlab(88.64, -4.23, 55.99)
CIE-LCHlch(88.64, 56.15, 94.32°)
OKLaboklab(90.06% -0.0142 0.1313)
OKLCHoklch(90.06% 0.132 96.2)
XYZxyz(67.8158, 73.3942, 26.2139)
Luminance0.7339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE71 #718BF8
analogous
#F89A71 #F8DE71 #CFF871
triadic
#F8DE71 #71F8DE #DE71F8
tetradic
#F8DE71 #71F89A #718BF8 #F871CF
square
#F8DE71 #71F89A #718BF8 #F871CF
split-complementary
#F8DE71 #71CFF8 #9A71F8
monochromatic
#E3BA0B #F5D037 #F8DE71 #FBECAB #FEF8E2

Accessibility & contrast

On white

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

On black

15.68
#F8DE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DE71
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DE71#FFFFFF#000000##000000
##F8DE711.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8de71;
/* rgb */ color: rgb(248, 222, 113);
/* oklch */ color: oklch(90.1% 0.132 96.2);
Tailwind
colors: {
  custom: {
    50: '#fde89d',
    500: '#f8de71',
    950: '#000000',
  },
}
SCSS
$custom: #f8de71;
$custom-light: #fde89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de71",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 113
  },
  "hsl": {
    "h": 48.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90062,
    "c": 0.13207,
    "h": 96.2
  },
  "luminance": 0.73391
}

Semantic roles & 50–950 ramp

primary
#F8DE71
secondary
#3A58D3
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DE71

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

Preview Lab → · Contrast checker → · Palette generator →

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