#F8F8DE#F8F8DE

#F8F8DE is a very light, muted yellow. Relative luminance 0.924; OKLCH L 97.2% C 0.034 H 107.0°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#F8F8DE
RGBrgb(248, 248, 222)
HSLhsl(60, 65%, 92%)
HSVhsv(60, 10%, 97%)
CMYKcmyk(0%, 0%, 10.5%, 2.7%)
CIE-LABlab(96.97, -4.34, 12.50)
CIE-LCHlch(96.97, 13.24, 109.16°)
OKLaboklab(97.23% -0.0099 0.0325)
OKLCHoklch(97.23% 0.034 107)
XYZxyz(85.4621, 92.3657, 82.4192)
Luminance0.9236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F8DE #DEDEF8
analogous
#F8EBDE #F8F8DE #EBF8DE
triadic
#F8F8DE #DEF8F8 #F8DEF8
tetradic
#F8F8DE #DEF8EB #DEDEF8 #F8DEEB
square
#F8F8DE #DEF8EB #DEDEF8 #F8DEEB
split-complementary
#F8F8DE #DEEBF8 #EBDEF8
monochromatic
#E3E379 #EDEDAC #F8F8DE #FAFAE6 #FAFAE6

Accessibility & contrast

On white

1.08
#F8F8DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.47
#F8F8DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F8DE
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F8DE#FFFFFF#000000##000000
##F8F8DE1.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF6DD
Deuteranopia (green-blind)
#FDF7DF
Tritanopia (blue-blind)
#FCF4F0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8f8de;
/* rgb */ color: rgb(248, 248, 222);
/* oklch */ color: oklch(97.2% 0.034 107.0);
Tailwind
colors: {
  custom: {
    50: '#fafae8',
    500: '#f8f8de',
    950: '#000000',
  },
}
SCSS
$custom: #f8f8de;
$custom-light: #fafae8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f8de",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 222
  },
  "hsl": {
    "h": 60,
    "s": 65,
    "l": 92.157
  },
  "oklch": {
    "l": 0.97232,
    "c": 0.03401,
    "h": 107
  },
  "luminance": 0.92365
}

Semantic roles & 50–950 ramp

primary
#F8F8DE
secondary
#9F9FDB
accent
#19CD19
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #F8F8DE

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

Preview Lab → · Contrast checker → · Palette generator →

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