#F8EAAF#F8EAAF

#F8EAAF is a very light, moderate yellow. Relative luminance 0.819; OKLCH L 93.4% C 0.077 H 96.3°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#F8EAAF
RGBrgb(248, 234, 175)
HSLhsl(48, 84%, 83%)
HSVhsv(48, 29%, 97%)
CMYKcmyk(0%, 5.6%, 29.4%, 2.7%)
CIE-LABlab(92.53, -3.98, 30.43)
CIE-LCHlch(92.53, 30.69, 97.45°)
OKLaboklab(93.42% -0.0085 0.0765)
OKLCHoklch(93.42% 0.077 96.3)
XYZxyz(75.8727, 81.8991, 52.3604)
Luminance0.8190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EAAF #AFBDF8
analogous
#F8C5AF #F8EAAF #E1F8AF
triadic
#F8EAAF #AFF8EA #EAAFF8
tetradic
#F8EAAF #AFF8C5 #AFBDF8 #F8AFE1
square
#F8EAAF #AFF8C5 #AFBDF8 #F8AFE1
split-complementary
#F8EAAF #AFE1F8 #C5AFF8
monochromatic
#EECC3E #F3DB77 #F8EAAF #FDF8E3 #FDF8E3

Accessibility & contrast

On white

1.21
#F8EAAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#F8EAAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EAAF
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EAAF#FFFFFF#000000##000000
##F8EAAF1.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E7AB
Deuteranopia (green-blind)
#FAECB1
Tritanopia (blue-blind)
#FFE1DA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8eaaf;
/* rgb */ color: rgb(248, 234, 175);
/* oklch */ color: oklch(93.4% 0.077 96.3);
Tailwind
colors: {
  custom: {
    50: '#fbf0c7',
    500: '#f8eaaf',
    950: '#000000',
  },
}
SCSS
$custom: #f8eaaf;
$custom-light: #fbf0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8eaaf",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 175
  },
  "hsl": {
    "h": 48.493,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.93424,
    "c": 0.07695,
    "h": 96.3
  },
  "luminance": 0.81897
}

Semantic roles & 50–950 ramp

primary
#F8EAAF
secondary
#7185DA
accent
#2FE005
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F8EAAF

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

Preview Lab → · Contrast checker → · Palette generator →

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