#F8EFAA#F8EFAA

#F8EFAA is a very light, moderate yellow. Relative luminance 0.846; OKLCH L 94.3% C 0.088 H 101.6°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#F8EFAA
RGBrgb(248, 239, 170)
HSLhsl(53, 85%, 82%)
HSVhsv(53, 31%, 97%)
CMYKcmyk(0%, 3.6%, 31.5%, 2.7%)
CIE-LABlab(93.71, -7.10, 34.54)
CIE-LCHlch(93.71, 35.26, 101.62°)
OKLaboklab(94.33% -0.0177 0.0861)
OKLCHoklch(94.33% 0.088 101.6)
XYZxyz(76.8343, 84.5935, 50.3031)
Luminance0.8459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EFAA #AAB3F8
analogous
#F8C8AA #F8EFAA #DAF8AA
triadic
#F8EFAA #AAF8EF #EFAAF8
tetradic
#F8EFAA #AAF8C8 #AAB3F8 #F8AADA
square
#F8EFAA #AAF8C8 #AAB3F8 #F8AADA
split-complementary
#F8EFAA #AADAF8 #C8AAF8
monochromatic
#EFDA39 #F3E471 #F8EFAA #FDFAE3 #FDFAE3

Accessibility & contrast

On white

1.17
#F8EFAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#F8EFAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EFAA
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EFAA#FFFFFF#000000##000000
##F8EFAA1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEAA5
Deuteranopia (green-blind)
#FFEFAD
Tritanopia (blue-blind)
#FFE6DD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8efaa;
/* rgb */ color: rgb(248, 239, 170);
/* oklch */ color: oklch(94.3% 0.088 101.6);
Tailwind
colors: {
  custom: {
    50: '#fbf4c4',
    500: '#f8efaa',
    950: '#000000',
  },
}
SCSS
$custom: #f8efaa;
$custom-light: #fbf4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8efaa",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 170
  },
  "hsl": {
    "h": 53.077,
    "s": 84.783,
    "l": 81.961
  },
  "oklch": {
    "l": 0.94327,
    "c": 0.08793,
    "h": 101.6
  },
  "luminance": 0.84592
}

Semantic roles & 50–950 ramp

primary
#F8EFAA
secondary
#6D79DA
accent
#1EE104
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F8EFAA

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

Preview Lab → · Contrast checker → · Palette generator →

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