#F8EA71#F8EA71

#F8EA71 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.5% C 0.142 H 102.7°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F8EA71
RGBrgb(248, 234, 113)
HSLhsl(54, 91%, 71%)
HSVhsv(54, 54%, 97%)
CMYKcmyk(0%, 5.6%, 54.4%, 2.7%)
CIE-LABlab(91.68, -10.23, 59.52)
CIE-LCHlch(91.68, 60.40, 99.75°)
OKLaboklab(92.48% -0.0314 0.139)
OKLCHoklch(92.48% 0.142 102.7)
XYZxyz(71.1171, 79.9968, 27.3144)
Luminance0.7999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA71 #717FF8
analogous
#F8A671 #F8EA71 #C2F871
triadic
#F8EA71 #71F8EA #EA71F8
tetradic
#F8EA71 #71F8A6 #717FF8 #F871C2
square
#F8EA71 #71F8A6 #717FF8 #F871C2
split-complementary
#F8EA71 #71C2F8 #A671F8
monochromatic
#E3CD0B #F5E137 #F8EA71 #FBF3AB #FEFBE2

Accessibility & contrast

On white

1.24
#F8EA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#F8EA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA71
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA71#FFFFFF#000000##000000
##F8EA711.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE365
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8ea71;
/* rgb */ color: rgb(248, 234, 113);
/* oklch */ color: oklch(92.5% 0.142 102.7);
Tailwind
colors: {
  custom: {
    50: '#fdf09d',
    500: '#f8ea71',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea71;
$custom-light: #fdf09d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea71",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 113
  },
  "hsl": {
    "h": 53.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92478,
    "c": 0.14247,
    "h": 102.7
  },
  "luminance": 0.79994
}

Semantic roles & 50–950 ramp

primary
#F8EA71
secondary
#3A4AD3
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EA71

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

Preview Lab → · Contrast checker → · Palette generator →

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