#F8F2BC#F8F2BC

#F8F2BC is a very light, moderate yellow. Relative luminance 0.871; OKLCH L 95.3% C 0.070 H 102.3°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#F8F2BC
RGBrgb(248, 242, 188)
HSLhsl(54, 81%, 85%)
HSVhsv(54, 24%, 97%)
CMYKcmyk(0%, 2.4%, 24.2%, 2.7%)
CIE-LABlab(94.78, -6.31, 26.86)
CIE-LCHlch(94.78, 27.59, 103.22°)
OKLaboklab(95.28% -0.0149 0.0681)
OKLCHoklch(95.28% 0.07 102.3)
XYZxyz(79.5407, 87.0929, 60.1877)
Luminance0.8709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F2BC #BCC2F8
analogous
#F8D4BC #F8F2BC #E0F8BC
triadic
#F8F2BC #BCF8F2 #F2BCF8
tetradic
#F8F2BC #BCF8D4 #BCC2F8 #F8BCE0
square
#F8F2BC #BCF8D4 #BCC2F8 #F8BCE0
split-complementary
#F8F2BC #BCE0F8 #D4BCF8
monochromatic
#ECDC4D #F2E785 #F8F2BC #FCFAE3 #FCFAE3

Accessibility & contrast

On white

1.14
#F8F2BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#F8F2BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F2BC
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F2BC#FFFFFF#000000##000000
##F8F2BC1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEEB9
Deuteranopia (green-blind)
#FEF2BE
Tritanopia (blue-blind)
#FFEBE3
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f2bc;
/* rgb */ color: rgb(248, 242, 188);
/* oklch */ color: oklch(95.3% 0.070 102.3);
Tailwind
colors: {
  custom: {
    50: '#fbf6d0',
    500: '#f8f2bc',
    950: '#000000',
  },
}
SCSS
$custom: #f8f2bc;
$custom-light: #fbf6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f2bc",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 188
  },
  "hsl": {
    "h": 54,
    "s": 81.081,
    "l": 85.49
  },
  "oklch": {
    "l": 0.95276,
    "c": 0.06969,
    "h": 102.3
  },
  "luminance": 0.87092
}

Semantic roles & 50–950 ramp

primary
#F8F2BC
secondary
#7D86DB
accent
#1DDD08
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F8F2BC

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

Preview Lab → · Contrast checker → · Palette generator →

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