#F8DE72#F8DE72

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

Color values

HEX#F8DE72
RGBrgb(248, 222, 114)
HSLhsl(48, 91%, 71%)
HSVhsv(48, 54%, 97%)
CMYKcmyk(0%, 10.5%, 54%, 2.7%)
CIE-LABlab(88.65, -4.15, 55.54)
CIE-LCHlch(88.65, 55.69, 94.27°)
OKLaboklab(90.07% -0.0138 0.1304)
OKLCHoklch(90.07% 0.131 96.1)
XYZxyz(67.8724, 73.4168, 26.5121)
Luminance0.7341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE72 #728CF8
analogous
#F89B72 #F8DE72 #CFF872
triadic
#F8DE72 #72F8DE #DE72F8
tetradic
#F8DE72 #72F89B #728CF8 #F872CF
square
#F8DE72 #72F89B #728CF8 #F872CF
split-complementary
#F8DE72 #72CFF8 #9B72F8
monochromatic
#E4BA0B #F5D038 #F8DE72 #FBECAC #FEF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DE72#FFFFFF#000000##000000
##F8DE721.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)
#F1DA68
Deuteranopia (green-blind)
#F8E277
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8de72;
/* rgb */ color: rgb(248, 222, 114);
/* oklch */ color: oklch(90.1% 0.131 96.1);
Tailwind
colors: {
  custom: {
    50: '#fde89d',
    500: '#f8de72',
    950: '#000000',
  },
}
SCSS
$custom: #f8de72;
$custom-light: #fde89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de72",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 114
  },
  "hsl": {
    "h": 48.358,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90074,
    "c": 0.13116,
    "h": 96.1
  },
  "luminance": 0.73414
}

Semantic roles & 50–950 ramp

primary
#F8DE72
secondary
#3B59D3
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DE72

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

Preview Lab → · Contrast checker → · Palette generator →

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