#F8F8DC#F8F8DC

#F8F8DC is a very light, muted yellow. Relative luminance 0.923; OKLCH L 97.2% C 0.037 H 107.1°. Best body text is #000000 at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#F8F8DC
RGBrgb(248, 248, 220)
HSLhsl(60, 67%, 92%)
HSVhsv(60, 11%, 97%)
CMYKcmyk(0%, 0%, 11.3%, 2.7%)
CIE-LABlab(96.93, -4.66, 13.47)
CIE-LCHlch(96.93, 14.25, 109.08°)
OKLaboklab(97.18% -0.0107 0.035)
OKLCHoklch(97.18% 0.037 107.1)
XYZxyz(85.1956, 92.2591, 81.0159)
Luminance0.9226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F8DC #DCDCF8
analogous
#F8EADC #F8F8DC #EAF8DC
triadic
#F8F8DC #DCF8F8 #F8DCF8
tetradic
#F8F8DC #DCF8EA #DCDCF8 #F8DCEA
square
#F8F8DC #DCF8EA #DCDCF8 #F8DCEA
split-complementary
#F8F8DC #DCEAF8 #EADCF8
monochromatic
#E4E476 #EEEEA9 #F8F8DC #FAFAE5 #FAFAE5

Accessibility & contrast

On white

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

On black

19.45
#F8F8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F8DC
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F8DC#FFFFFF#000000##000000
##F8F8DC1.001.0819.4519.45
#FFFFFF1.081.0021.0021.00
#00000019.4521.001.001.00
##00000019.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF5DA
Deuteranopia (green-blind)
#FEF7DD
Tritanopia (blue-blind)
#FDF4F0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8f8dc;
/* rgb */ color: rgb(248, 248, 220);
/* oklch */ color: oklch(97.2% 0.037 107.1);
Tailwind
colors: {
  custom: {
    50: '#fafae6',
    500: '#f8f8dc',
    950: '#000000',
  },
}
SCSS
$custom: #f8f8dc;
$custom-light: #fafae6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f8dc",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 220
  },
  "hsl": {
    "h": 60,
    "s": 66.667,
    "l": 91.765
  },
  "oklch": {
    "l": 0.97183,
    "c": 0.03658,
    "h": 107.1
  },
  "luminance": 0.92259
}

Semantic roles & 50–950 ramp

primary
#F8F8DC
secondary
#9D9DDB
accent
#17CF17
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #F8F8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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