#F8EA81#F8EA81

#F8EA81 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.7% C 0.127 H 101.8°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#F8EA81
RGBrgb(248, 234, 129)
HSLhsl(53, 89%, 74%)
HSVhsv(53, 48%, 97%)
CMYKcmyk(0%, 5.6%, 48%, 2.7%)
CIE-LABlab(91.86, -8.91, 52.33)
CIE-LCHlch(91.86, 53.08, 99.66°)
OKLaboklab(92.67% -0.026 0.1247)
OKLCHoklch(92.67% 0.127 101.8)
XYZxyz(72.0986, 80.3894, 32.4835)
Luminance0.8039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA81 #818FF8
analogous
#F8AF81 #F8EA81 #CBF881
triadic
#F8EA81 #81F8EA #EA81F8
tetradic
#F8EA81 #81F8AF #818FF8 #F881CB
square
#F8EA81 #81F8AF #818FF8 #F881CB
split-complementary
#F8EA81 #81CBF8 #AF81F8
monochromatic
#F1D60D #F5E047 #F8EA81 #FBF4BB #FDFAE2

Accessibility & contrast

On white

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

On black

17.08
#F8EA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA81
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA81#FFFFFF#000000##000000
##F8EA811.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE478
Deuteranopia (green-blind)
#FFEA86
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8ea81;
/* rgb */ color: rgb(248, 234, 129);
/* oklch */ color: oklch(92.7% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#fdf0a8',
    500: '#f8ea81',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea81;
$custom-light: #fdf0a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea81",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 129
  },
  "hsl": {
    "h": 52.941,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92674,
    "c": 0.1274,
    "h": 101.8
  },
  "luminance": 0.80387
}

Semantic roles & 50–950 ramp

primary
#F8EA81
secondary
#4859D5
accent
#1BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #F8EA81

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

Preview Lab → · Contrast checker → · Palette generator →

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