#F8EFBC#F8EFBC

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

Color values

HEX#F8EFBC
RGBrgb(248, 239, 188)
HSLhsl(51, 81%, 85%)
HSVhsv(51, 24%, 97%)
CMYKcmyk(0%, 3.6%, 24.2%, 2.7%)
CIE-LABlab(94.02, -4.81, 25.82)
CIE-LCHlch(94.02, 26.27, 100.54°)
OKLaboklab(94.68% -0.0106 0.0656)
OKLCHoklch(94.68% 0.066 99.2)
XYZxyz(78.6551, 85.3218, 59.8925)
Luminance0.8532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EFBC #BCC5F8
analogous
#F8D1BC #F8EFBC #E3F8BC
triadic
#F8EFBC #BCF8EF #EFBCF8
tetradic
#F8EFBC #BCF8D1 #BCC5F8 #F8BCE3
square
#F8EFBC #BCF8D1 #BCC5F8 #F8BCE3
split-complementary
#F8EFBC #BCE3F8 #D1BCF8
monochromatic
#ECD54D #F2E285 #F8EFBC #FCF8E3 #FCF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8EFBC#FFFFFF#000000##000000
##F8EFBC1.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)
#F9ECB9
Deuteranopia (green-blind)
#FCEFBE
Tritanopia (blue-blind)
#FFE8E1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8efbc;
/* rgb */ color: rgb(248, 239, 188);
/* oklch */ color: oklch(94.7% 0.066 99.2);
Tailwind
colors: {
  custom: {
    50: '#fbf4d0',
    500: '#f8efbc',
    950: '#000000',
  },
}
SCSS
$custom: #f8efbc;
$custom-light: #fbf4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8efbc",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 188
  },
  "hsl": {
    "h": 51,
    "s": 81.081,
    "l": 85.49
  },
  "oklch": {
    "l": 0.94678,
    "c": 0.06641,
    "h": 99.2
  },
  "luminance": 0.8532
}

Semantic roles & 50–950 ramp

primary
#F8EFBC
secondary
#7D8BDB
accent
#28DD08
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F8EFBC

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

Preview Lab → · Contrast checker → · Palette generator →

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