#F9EFBF#F9EFBF

#F9EFBF is a very light, moderate yellow. Relative luminance 0.856; OKLCH L 94.8% C 0.063 H 97.6°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#F9EFBF
RGBrgb(249, 239, 191)
HSLhsl(50, 83%, 86%)
HSVhsv(50, 23%, 98%)
CMYKcmyk(0%, 4%, 23.3%, 2.4%)
CIE-LABlab(94.16, -4.03, 24.48)
CIE-LCHlch(94.16, 24.81, 99.36°)
OKLaboklab(94.82% -0.0083 0.0623)
OKLCHoklch(94.82% 0.063 97.6)
XYZxyz(79.3374, 85.6358, 61.6301)
Luminance0.8563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EFBF #BFC9F9
analogous
#F9D2BF #F9EFBF #E6F9BF
triadic
#F9EFBF #BFF9EF #EFBFF9
tetradic
#F9EFBF #BFF9D2 #BFC9F9 #F9BFE6
square
#F9EFBF #BFF9D2 #BFC9F9 #F9BFE6
split-complementary
#F9EFBF #BFE6F9 #D2BFF9
monochromatic
#EFD34F #F4E187 #F9EFBF #FCF8E3 #FCF8E3

Accessibility & contrast

On white

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

On black

18.13
#F9EFBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EFBF
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EFBF#FFFFFF#000000##000000
##F9EFBF1.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9efbf;
/* rgb */ color: rgb(249, 239, 191);
/* oklch */ color: oklch(94.8% 0.063 97.6);
Tailwind
colors: {
  custom: {
    50: '#fbf4d2',
    500: '#f9efbf',
    950: '#000000',
  },
}
SCSS
$custom: #f9efbf;
$custom-light: #fbf4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9efbf",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 191
  },
  "hsl": {
    "h": 49.655,
    "s": 82.857,
    "l": 86.275
  },
  "oklch": {
    "l": 0.94822,
    "c": 0.06289,
    "h": 97.6
  },
  "luminance": 0.85634
}

Semantic roles & 50–950 ramp

primary
#F9EFBF
secondary
#7F8FDD
accent
#2CDF06
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F9EFBF

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

Preview Lab → · Contrast checker → · Palette generator →

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