#F8EA8F#F8EA8F

#F8EA8F is a very light, moderate yellow. Relative luminance 0.808; OKLCH L 92.9% C 0.113 H 100.6°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F8EA8F
RGBrgb(248, 234, 143)
HSLhsl(52, 88%, 77%)
HSVhsv(52, 42%, 97%)
CMYKcmyk(0%, 5.6%, 42.3%, 2.7%)
CIE-LABlab(92.04, -7.59, 45.80)
CIE-LCHlch(92.04, 46.42, 99.41°)
OKLaboklab(92.87% -0.0209 0.1111)
OKLCHoklch(92.87% 0.113 100.6)
XYZxyz(73.0938, 80.7875, 37.7245)
Luminance0.8078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA8F #8F9DF8
analogous
#F8B68F #F8EA8F #D2F88F
triadic
#F8EA8F #8FF8EA #EA8FF8
tetradic
#F8EA8F #8FF8B6 #8F9DF8 #F88FD2
square
#F8EA8F #8FF8B6 #8F9DF8 #F88FD2
split-complementary
#F8EA8F #8FD2F8 #B68FF8
monochromatic
#F1D41C #F4DF55 #F8EA8F #FCF5C9 #FDFAE2

Accessibility & contrast

On white

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

On black

17.16
#F8EA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA8F
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA8F#FFFFFF#000000##000000
##F8EA8F1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE588
Deuteranopia (green-blind)
#FEEB93
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8ea8f;
/* rgb */ color: rgb(248, 234, 143);
/* oklch */ color: oklch(92.9% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#fcf0b1',
    500: '#f8ea8f',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea8f;
$custom-light: #fcf0b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea8f",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 143
  },
  "hsl": {
    "h": 52,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92873,
    "c": 0.11302,
    "h": 100.6
  },
  "luminance": 0.80785
}

Semantic roles & 50–950 ramp

primary
#F8EA8F
secondary
#5566D7
accent
#1FE501
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F8EA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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