#F8EFBB#F8EFBB

#F8EFBB is a very light, moderate yellow. Relative luminance 0.853; OKLCH L 94.7% C 0.068 H 99.3°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#F8EFBB
RGBrgb(248, 239, 187)
HSLhsl(51, 81%, 85%)
HSVhsv(51, 25%, 97%)
CMYKcmyk(0%, 3.6%, 24.6%, 2.7%)
CIE-LABlab(94.00, -4.94, 26.31)
CIE-LCHlch(94.00, 26.77, 100.64°)
OKLaboklab(94.66% -0.011 0.0667)
OKLCHoklch(94.66% 0.068 99.3)
XYZxyz(78.5477, 85.2788, 59.3267)
Luminance0.8528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EFBB #BBC4F8
analogous
#F8D1BB #F8EFBB #E2F8BB
triadic
#F8EFBB #BBF8EF #EFBBF8
tetradic
#F8EFBB #BBF8D1 #BBC4F8 #F8BBE2
square
#F8EFBB #BBF8D1 #BBC4F8 #F8BBE2
split-complementary
#F8EFBB #BBE2F8 #D1BBF8
monochromatic
#EDD54C #F2E284 #F8EFBB #FCF8E3 #FCF8E3

Accessibility & contrast

On white

1.16
#F8EFBB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#F8EFBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EFBB
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EFBB#FFFFFF#000000##000000
##F8EFBB1.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9ECB8
Deuteranopia (green-blind)
#FCEFBD
Tritanopia (blue-blind)
#FFE8E1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8efbb;
/* rgb */ color: rgb(248, 239, 187);
/* oklch */ color: oklch(94.7% 0.068 99.3);
Tailwind
colors: {
  custom: {
    50: '#fbf4cf',
    500: '#f8efbb',
    950: '#000000',
  },
}
SCSS
$custom: #f8efbb;
$custom-light: #fbf4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f8efbb",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 187
  },
  "hsl": {
    "h": 51.148,
    "s": 81.333,
    "l": 85.294
  },
  "oklch": {
    "l": 0.94658,
    "c": 0.06763,
    "h": 99.3
  },
  "luminance": 0.85277
}

Semantic roles & 50–950 ramp

primary
#F8EFBB
secondary
#7C8ADB
accent
#27DE08
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F8EFBB

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

Preview Lab → · Contrast checker → · Palette generator →

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