#F8EB71#F8EB71

#F8EB71 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.7% C 0.143 H 103.2°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#F8EB71
RGBrgb(248, 235, 113)
HSLhsl(54, 91%, 71%)
HSVhsv(54, 54%, 97%)
CMYKcmyk(0%, 5.2%, 54.4%, 2.7%)
CIE-LABlab(91.94, -10.73, 59.82)
CIE-LCHlch(91.94, 60.77, 100.16°)
OKLaboklab(92.68% -0.0328 0.1396)
OKLCHoklch(92.68% 0.143 103.2)
XYZxyz(71.4026, 80.5678, 27.4095)
Luminance0.8056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EB71 #717EF8
analogous
#F8A771 #F8EB71 #C1F871
triadic
#F8EB71 #71F8EB #EB71F8
tetradic
#F8EB71 #71F8A7 #717EF8 #F871C1
square
#F8EB71 #71F8A7 #717EF8 #F871C1
split-complementary
#F8EB71 #71C1F8 #A771F8
monochromatic
#E3CF0B #F5E337 #F8EB71 #FBF3AB #FEFBE2

Accessibility & contrast

On white

1.23
#F8EB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#F8EB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EB71
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EB71#FFFFFF#000000##000000
##F8EB711.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE465
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8eb71;
/* rgb */ color: rgb(248, 235, 113);
/* oklch */ color: oklch(92.7% 0.143 103.2);
Tailwind
colors: {
  custom: {
    50: '#fdf19d',
    500: '#f8eb71',
    950: '#000000',
  },
}
SCSS
$custom: #f8eb71;
$custom-light: #fdf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8eb71",
  "rgb": {
    "r": 248,
    "g": 235,
    "b": 113
  },
  "hsl": {
    "h": 54.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92681,
    "c": 0.14341,
    "h": 103.2
  },
  "luminance": 0.80565
}

Semantic roles & 50–950 ramp

primary
#F8EB71
secondary
#3A49D3
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EB71

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

Preview Lab → · Contrast checker → · Palette generator →

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