#F9ECBD#F9ECBD

#F9ECBD is a very light, moderate yellow. Relative luminance 0.838; OKLCH L 94.2% C 0.062 H 94.4°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#F9ECBD
RGBrgb(249, 236, 189)
HSLhsl(47, 83%, 86%)
HSVhsv(47, 24%, 98%)
CMYKcmyk(0%, 5.2%, 24.1%, 2.4%)
CIE-LABlab(93.37, -2.79, 24.42)
CIE-LCHlch(93.37, 24.58, 96.53°)
OKLaboklab(94.19% -0.0048 0.0622)
OKLCHoklch(94.19% 0.062 94.4)
XYZxyz(78.2478, 83.8064, 60.1885)
Luminance0.8380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ECBD #BDCAF9
analogous
#F9CEBD #F9ECBD #E8F9BD
triadic
#F9ECBD #BDF9EC #ECBDF9
tetradic
#F9ECBD #BDF9CE #BDCAF9 #F9BDE8
square
#F9ECBD #BDF9CE #BDCAF9 #F9BDE8
split-complementary
#F9ECBD #BDE8F9 #CEBDF9
monochromatic
#EFCC4D #F4DC85 #F9ECBD #FCF7E3 #FCF7E3

Accessibility & contrast

On white

1.18
#F9ECBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#F9ECBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9ECBD
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9ECBD#FFFFFF#000000##000000
##F9ECBD1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E9BA
Deuteranopia (green-blind)
#FAEEBE
Tritanopia (blue-blind)
#FFE5DF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9ecbd;
/* rgb */ color: rgb(249, 236, 189);
/* oklch */ color: oklch(94.2% 0.062 94.4);
Tailwind
colors: {
  custom: {
    50: '#fbf2d1',
    500: '#f9ecbd',
    950: '#000000',
  },
}
SCSS
$custom: #f9ecbd;
$custom-light: #fbf2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ecbd",
  "rgb": {
    "r": 249,
    "g": 236,
    "b": 189
  },
  "hsl": {
    "h": 47,
    "s": 83.333,
    "l": 85.882
  },
  "oklch": {
    "l": 0.94187,
    "c": 0.06235,
    "h": 94.4
  },
  "luminance": 0.83805
}

Semantic roles & 50–950 ramp

primary
#F9ECBD
secondary
#7D92DD
accent
#35E006
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F9ECBD

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

Preview Lab → · Contrast checker → · Palette generator →

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