#F8ED71#F8ED71

#F8ED71 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.145 H 104.2°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#F8ED71
RGBrgb(248, 237, 113)
HSLhsl(55, 91%, 71%)
HSVhsv(55, 54%, 97%)
CMYKcmyk(0%, 4.4%, 54.4%, 2.7%)
CIE-LABlab(92.45, -11.71, 60.41)
CIE-LCHlch(92.45, 61.53, 100.97°)
OKLaboklab(93.09% -0.0357 0.1409)
OKLCHoklch(93.09% 0.145 104.2)
XYZxyz(71.9785, 81.7195, 27.6015)
Luminance0.8172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED71 #717CF8
analogous
#F8A971 #F8ED71 #BFF871
triadic
#F8ED71 #71F8ED #ED71F8
tetradic
#F8ED71 #71F8A9 #717CF8 #F871BF
square
#F8ED71 #71F8A9 #717CF8 #F871BF
split-complementary
#F8ED71 #71BFF8 #A971F8
monochromatic
#E3D20B #F5E637 #F8ED71 #FBF4AB #FEFBE2

Accessibility & contrast

On white

1.21
#F8ED71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#F8ED71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED71
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED71#FFFFFF#000000##000000
##F8ED711.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE665
Deuteranopia (green-blind)
#FFEC77
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed71;
/* rgb */ color: rgb(248, 237, 113);
/* oklch */ color: oklch(93.1% 0.145 104.2);
Tailwind
colors: {
  custom: {
    50: '#fdf29d',
    500: '#f8ed71',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed71;
$custom-light: #fdf29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed71",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 113
  },
  "hsl": {
    "h": 55.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93088,
    "c": 0.14532,
    "h": 104.2
  },
  "luminance": 0.81717
}

Semantic roles & 50–950 ramp

primary
#F8ED71
secondary
#3A47D3
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8ED71

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

Preview Lab → · Contrast checker → · Palette generator →

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