#F2EFBB#F2EFBB

#F2EFBB is a very light, moderate yellow. Relative luminance 0.842; OKLCH L 94.2% C 0.067 H 104.9°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F2EFBB
RGBrgb(242, 239, 187)
HSLhsl(57, 68%, 84%)
HSVhsv(57, 23%, 95%)
CMYKcmyk(0%, 1.2%, 22.7%, 5.1%)
CIE-LABlab(93.54, -7.14, 25.59)
CIE-LCHlch(93.54, 26.57, 105.58°)
OKLaboklab(94.18% -0.0173 0.065)
OKLCHoklch(94.18% 0.067 104.9)
XYZxyz(76.4539, 84.1992, 59.2286)
Luminance0.8420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFBB #BBBEF2
analogous
#F2D4BB #F2EFBB #DAF2BB
triadic
#F2EFBB #BBF2EF #EFBBF2
tetradic
#F2EFBB #BBF2D4 #BBBEF2 #F2BBDA
square
#F2EFBB #BBF2D4 #BBBEF2 #F2BBDA
split-complementary
#F2EFBB #BBDAF2 #D4BBF2
monochromatic
#DED754 #E8E388 #F2EFBB #FAF9E5 #FAF9E5

Accessibility & contrast

On white

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

On black

17.84
#F2EFBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFBB
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFBB#FFFFFF#000000##000000
##F2EFBB1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8EBB8
Deuteranopia (green-blind)
#FAEEBD
Tritanopia (blue-blind)
#FAE8E1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2efbb;
/* rgb */ color: rgb(242, 239, 187);
/* oklch */ color: oklch(94.2% 0.067 104.9);
Tailwind
colors: {
  custom: {
    50: '#f6f4cf',
    500: '#f2efbb',
    950: '#000000',
  },
}
SCSS
$custom: #f2efbb;
$custom-light: #f6f4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efbb",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 187
  },
  "hsl": {
    "h": 56.727,
    "s": 67.901,
    "l": 84.118
  },
  "oklch": {
    "l": 0.94176,
    "c": 0.06725,
    "h": 104.9
  },
  "luminance": 0.84198
}

Semantic roles & 50–950 ramp

primary
#F2EFBB
secondary
#8084D2
accent
#20D016
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2EFBB

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

Preview Lab → · Contrast checker → · Palette generator →

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