#F8EBAA#F8EBAA

#F8EBAA is a very light, moderate yellow. Relative luminance 0.823; OKLCH L 93.5% C 0.084 H 98.2°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#F8EBAA
RGBrgb(248, 235, 170)
HSLhsl(50, 85%, 82%)
HSVhsv(50, 31%, 97%)
CMYKcmyk(0%, 5.2%, 31.5%, 2.7%)
CIE-LABlab(92.70, -5.10, 33.19)
CIE-LCHlch(92.70, 33.58, 98.73°)
OKLaboklab(93.53% -0.0119 0.083)
OKLCHoklch(93.53% 0.084 98.2)
XYZxyz(75.6762, 82.2773, 49.9171)
Luminance0.8227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EBAA #AAB7F8
analogous
#F8C4AA #F8EBAA #DEF8AA
triadic
#F8EBAA #AAF8EB #EBAAF8
tetradic
#F8EBAA #AAF8C4 #AAB7F8 #F8AADE
square
#F8EBAA #AAF8C4 #AAB7F8 #F8AADE
split-complementary
#F8EBAA #AADEF8 #C4AAF8
monochromatic
#EFD039 #F3DE71 #F8EBAA #FDF8E3 #FDF8E3

Accessibility & contrast

On white

1.20
#F8EBAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#F8EBAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EBAA
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EBAA#FFFFFF#000000##000000
##F8EBAA1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E7A6
Deuteranopia (green-blind)
#FBECAC
Tritanopia (blue-blind)
#FFE2DA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ebaa;
/* rgb */ color: rgb(248, 235, 170);
/* oklch */ color: oklch(93.5% 0.084 98.2);
Tailwind
colors: {
  custom: {
    50: '#fbf1c3',
    500: '#f8ebaa',
    950: '#000000',
  },
}
SCSS
$custom: #f8ebaa;
$custom-light: #fbf1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ebaa",
  "rgb": {
    "r": 248,
    "g": 235,
    "b": 170
  },
  "hsl": {
    "h": 50,
    "s": 84.783,
    "l": 81.961
  },
  "oklch": {
    "l": 0.93528,
    "c": 0.0838,
    "h": 98.2
  },
  "luminance": 0.82275
}

Semantic roles & 50–950 ramp

primary
#F8EBAA
secondary
#6D7FDA
accent
#29E104
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F8EBAA

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

Preview Lab → · Contrast checker → · Palette generator →

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