#F8E572#F8E572

#F8E572 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.5% C 0.137 H 100.1°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#F8E572
RGBrgb(248, 229, 114)
HSLhsl(51, 91%, 71%)
HSVhsv(51, 54%, 97%)
CMYKcmyk(0%, 7.7%, 54%, 2.7%)
CIE-LABlab(90.42, -7.67, 57.61)
CIE-LCHlch(90.42, 58.11, 97.58°)
OKLaboklab(91.48% -0.024 0.1349)
OKLCHoklch(91.48% 0.137 100.1)
XYZxyz(69.7703, 77.2127, 27.1447)
Luminance0.7721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E572 #7285F8
analogous
#F8A272 #F8E572 #C8F872
triadic
#F8E572 #72F8E5 #E572F8
tetradic
#F8E572 #72F8A2 #7285F8 #F872C8
square
#F8E572 #72F8A2 #7285F8 #F872C8
split-complementary
#F8E572 #72C8F8 #A272F8
monochromatic
#E4C60B #F5DA38 #F8E572 #FBF0AC #FEFAE2

Accessibility & contrast

On white

1.28
#F8E572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.44
#F8E572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E572
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E572#FFFFFF#000000##000000
##F8E5721.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF67
Deuteranopia (green-blind)
#FDE777
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e572;
/* rgb */ color: rgb(248, 229, 114);
/* oklch */ color: oklch(91.5% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#fded9e',
    500: '#f8e572',
    950: '#000000',
  },
}
SCSS
$custom: #f8e572;
$custom-light: #fded9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e572",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 114
  },
  "hsl": {
    "h": 51.493,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91478,
    "c": 0.13703,
    "h": 100.1
  },
  "luminance": 0.7721
}

Semantic roles & 50–950 ramp

primary
#F8E572
secondary
#3B51D3
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E572

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

Preview Lab → · Contrast checker → · Palette generator →

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