#F8EC71#F8EC71

#F8EC71 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.9% C 0.144 H 103.7°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F8EC71
RGBrgb(248, 236, 113)
HSLhsl(55, 91%, 71%)
HSVhsv(55, 54%, 97%)
CMYKcmyk(0%, 4.8%, 54.4%, 2.7%)
CIE-LABlab(92.19, -11.22, 60.11)
CIE-LCHlch(92.19, 61.15, 100.57°)
OKLaboklab(92.88% -0.0343 0.1402)
OKLCHoklch(92.88% 0.144 103.7)
XYZxyz(71.6897, 81.1420, 27.5052)
Luminance0.8114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EC71 #717DF8
analogous
#F8A871 #F8EC71 #C0F871
triadic
#F8EC71 #71F8EC #EC71F8
tetradic
#F8EC71 #71F8A8 #717DF8 #F871C0
square
#F8EC71 #71F8A8 #717DF8 #F871C0
split-complementary
#F8EC71 #71C0F8 #A871F8
monochromatic
#E3D00B #F5E437 #F8EC71 #FBF4AB #FEFBE2

Accessibility & contrast

On white

1.22
#F8EC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#F8EC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EC71
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EC71#FFFFFF#000000##000000
##F8EC711.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ec71;
/* rgb */ color: rgb(248, 236, 113);
/* oklch */ color: oklch(92.9% 0.144 103.7);
Tailwind
colors: {
  custom: {
    50: '#fdf19d',
    500: '#f8ec71',
    950: '#000000',
  },
}
SCSS
$custom: #f8ec71;
$custom-light: #fdf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ec71",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 54.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92884,
    "c": 0.14435,
    "h": 103.7
  },
  "luminance": 0.8114
}

Semantic roles & 50–950 ramp

primary
#F8EC71
secondary
#3A48D3
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EC71

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

Preview Lab → · Contrast checker → · Palette generator →

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