#F8EFBF#F8EFBF

#F8EFBF is a very light, moderate yellow. Relative luminance 0.855; OKLCH L 94.7% C 0.063 H 98.6°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#F8EFBF
RGBrgb(248, 239, 191)
HSLhsl(51, 80%, 86%)
HSVhsv(51, 23%, 97%)
CMYKcmyk(0%, 3.6%, 23%, 2.7%)
CIE-LABlab(94.08, -4.40, 24.36)
CIE-LCHlch(94.08, 24.76, 100.23°)
OKLaboklab(94.74% -0.0094 0.062)
OKLCHoklch(94.74% 0.063 98.6)
XYZxyz(78.9818, 85.4525, 61.6134)
Luminance0.8545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EFBF #BFC8F8
analogous
#F8D2BF #F8EFBF #E4F8BF
triadic
#F8EFBF #BFF8EF #EFBFF8
tetradic
#F8EFBF #BFF8D2 #BFC8F8 #F8BFE4
square
#F8EFBF #BFF8D2 #BFC8F8 #F8BFE4
split-complementary
#F8EFBF #BFE4F8 #D2BFF8
monochromatic
#ECD351 #F2E188 #F8EFBF #FCF8E3 #FCF8E3

Accessibility & contrast

On white

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

On black

18.09
#F8EFBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EFBF
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EFBF#FFFFFF#000000##000000
##F8EFBF1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9ECBC
Deuteranopia (green-blind)
#FBF0C1
Tritanopia (blue-blind)
#FFE8E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8efbf;
/* rgb */ color: rgb(248, 239, 191);
/* oklch */ color: oklch(94.7% 0.063 98.6);
Tailwind
colors: {
  custom: {
    50: '#fbf4d2',
    500: '#f8efbf',
    950: '#000000',
  },
}
SCSS
$custom: #f8efbf;
$custom-light: #fbf4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8efbf",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 191
  },
  "hsl": {
    "h": 50.526,
    "s": 80.282,
    "l": 86.078
  },
  "oklch": {
    "l": 0.94741,
    "c": 0.06275,
    "h": 98.6
  },
  "luminance": 0.85451
}

Semantic roles & 50–950 ramp

primary
#F8EFBF
secondary
#808EDB
accent
#2ADD09
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F8EFBF

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

Preview Lab → · Contrast checker → · Palette generator →

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