#F8EA87#F8EA87

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

Color values

HEX#F8EA87
RGBrgb(248, 234, 135)
HSLhsl(53, 89%, 75%)
HSVhsv(53, 46%, 97%)
CMYKcmyk(0%, 5.6%, 45.6%, 2.7%)
CIE-LABlab(91.93, -8.36, 49.55)
CIE-LCHlch(91.93, 50.25, 99.58°)
OKLaboklab(92.76% -0.0238 0.119)
OKLCHoklch(92.76% 0.121 101.3)
XYZxyz(72.5092, 80.5537, 34.6459)
Luminance0.8055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA87 #8795F8
analogous
#F8B187 #F8EA87 #CEF887
triadic
#F8EA87 #87F8EA #EA87F8
tetradic
#F8EA87 #87F8B1 #8795F8 #F887CE
square
#F8EA87 #87F8B1 #8795F8 #F887CE
split-complementary
#F8EA87 #87CEF8 #B187F8
monochromatic
#F1D613 #F5E04D #F8EA87 #FBF4C1 #FDFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8EA87#FFFFFF#000000##000000
##F8EA871.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)
#FAE47F
Deuteranopia (green-blind)
#FFEB8B
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8ea87;
/* rgb */ color: rgb(248, 234, 135);
/* oklch */ color: oklch(92.8% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#fcf0ac',
    500: '#f8ea87',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea87;
$custom-light: #fcf0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea87",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 135
  },
  "hsl": {
    "h": 52.566,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92756,
    "c": 0.12136,
    "h": 101.3
  },
  "luminance": 0.80551
}

Semantic roles & 50–950 ramp

primary
#F8EA87
secondary
#4D5ED6
accent
#1CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F8EA87

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

Preview Lab → · Contrast checker → · Palette generator →

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