#F8F8EA#F8F8EA

#F8F8EA is a very light, near-neutral yellow. Relative luminance 0.930; OKLCH L 97.5% C 0.018 H 106.7°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#F8F8EA
RGBrgb(248, 248, 234)
HSLhsl(60, 50%, 95%)
HSVhsv(60, 6%, 97%)
CMYKcmyk(0%, 0%, 5.6%, 2.7%)
CIE-LABlab(97.24, -2.40, 6.72)
CIE-LCHlch(97.24, 7.13, 109.63°)
OKLaboklab(97.54% -0.0053 0.0176)
OKLCHoklch(97.54% 0.018 106.7)
XYZxyz(87.1280, 93.0321, 91.1929)
Luminance0.9303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F8EA #EAEAF8
analogous
#F8F1EA #F8F8EA #F1F8EA
triadic
#F8F8EA #EAF8F8 #F8EAF8
tetradic
#F8F8EA #EAF8F1 #EAEAF8 #F8EAF1
square
#F8F8EA #EAF8F1 #EAEAF8 #F8EAF1
split-complementary
#F8F8EA #EAF1F8 #F1EAF8
monochromatic
#D9D98E #E9E9BC #F7F7E8 #F7F7E8 #F7F7E8

Accessibility & contrast

On white

1.07
#F8F8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.61
#F8F8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F8EA
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F8EA#FFFFFF#000000##000000
##F8F8EA1.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF7E9
Deuteranopia (green-blind)
#FBF7EA
Tritanopia (blue-blind)
#FAF6F4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f8f8ea;
/* rgb */ color: rgb(248, 248, 234);
/* oklch */ color: oklch(97.5% 0.018 106.7);
Tailwind
colors: {
  custom: {
    50: '#fafaf0',
    500: '#f8f8ea',
    950: '#000000',
  },
}
SCSS
$custom: #f8f8ea;
$custom-light: #fafaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f8ea",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 234
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 94.51
  },
  "oklch": {
    "l": 0.97535,
    "c": 0.01841,
    "h": 106.7
  },
  "luminance": 0.93032
}

Semantic roles & 50–950 ramp

primary
#F8F8EA
secondary
#AEAED8
accent
#28BD28
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #F8F8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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