#F8EB81#F8EB81

#F8EB81 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.9% C 0.128 H 102.3°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#F8EB81
RGBrgb(248, 235, 129)
HSLhsl(53, 89%, 74%)
HSVhsv(53, 48%, 97%)
CMYKcmyk(0%, 5.2%, 48%, 2.7%)
CIE-LABlab(92.11, -9.41, 52.63)
CIE-LCHlch(92.11, 53.47, 100.13°)
OKLaboklab(92.88% -0.0274 0.1254)
OKLCHoklch(92.88% 0.128 102.3)
XYZxyz(72.3841, 80.9604, 32.5786)
Luminance0.8096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EB81 #818EF8
analogous
#F8B081 #F8EB81 #CAF881
triadic
#F8EB81 #81F8EB #EB81F8
tetradic
#F8EB81 #81F8B0 #818EF8 #F881CA
square
#F8EB81 #81F8B0 #818EF8 #F881CA
split-complementary
#F8EB81 #81CAF8 #B081F8
monochromatic
#F1D80D #F5E247 #F8EB81 #FBF4BB #FDFAE2

Accessibility & contrast

On white

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

On black

17.19
#F8EB81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EB81
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EB81#FFFFFF#000000##000000
##F8EB811.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE578
Deuteranopia (green-blind)
#FFEB86
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8eb81;
/* rgb */ color: rgb(248, 235, 129);
/* oklch */ color: oklch(92.9% 0.128 102.3);
Tailwind
colors: {
  custom: {
    50: '#fdf1a8',
    500: '#f8eb81',
    950: '#000000',
  },
}
SCSS
$custom: #f8eb81;
$custom-light: #fdf1a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8eb81",
  "rgb": {
    "r": 248,
    "g": 235,
    "b": 129
  },
  "hsl": {
    "h": 53.445,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92876,
    "c": 0.12836,
    "h": 102.3
  },
  "luminance": 0.80958
}

Semantic roles & 50–950 ramp

primary
#F8EB81
secondary
#4858D5
accent
#19E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #F8EB81

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

Preview Lab → · Contrast checker → · Palette generator →

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