#F2E8BB#F2E8BB

#F2E8BB is a very light, muted yellow. Relative luminance 0.802; OKLCH L 92.8% C 0.059 H 96.9°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F2E8BB
RGBrgb(242, 232, 187)
HSLhsl(49, 68%, 84%)
HSVhsv(49, 23%, 95%)
CMYKcmyk(0%, 4.1%, 22.7%, 5.1%)
CIE-LABlab(91.77, -3.61, 23.16)
CIE-LCHlch(91.77, 23.44, 98.87°)
OKLaboklab(92.78% -0.0072 0.0591)
OKLCHoklch(92.78% 0.059 96.9)
XYZxyz(74.4442, 80.1797, 58.5587)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E8BB #BBC5F2
analogous
#F2CDBB #F2E8BB #E1F2BB
triadic
#F2E8BB #BBF2E8 #E8BBF2
tetradic
#F2E8BB #BBF2CD #BBC5F2 #F2BBE1
square
#F2E8BB #BBF2CD #BBC5F2 #F2BBE1
split-complementary
#F2E8BB #BBE1F2 #CDBBF2
monochromatic
#DEC554 #E8D788 #F2E8BB #FAF6E5 #FAF6E5

Accessibility & contrast

On white

1.23
#F2E8BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#F2E8BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E8BB
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E8BB#FFFFFF#000000##000000
##F2E8BB1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1E5B8
Deuteranopia (green-blind)
#F4E9BC
Tritanopia (blue-blind)
#FBE1DC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2e8bb;
/* rgb */ color: rgb(242, 232, 187);
/* oklch */ color: oklch(92.8% 0.059 96.9);
Tailwind
colors: {
  custom: {
    50: '#f6efcf',
    500: '#f2e8bb',
    950: '#000000',
  },
}
SCSS
$custom: #f2e8bb;
$custom-light: #f6efcf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e8bb",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 187
  },
  "hsl": {
    "h": 49.091,
    "s": 67.901,
    "l": 84.118
  },
  "oklch": {
    "l": 0.92776,
    "c": 0.05949,
    "h": 96.9
  },
  "luminance": 0.80178
}

Semantic roles & 50–950 ramp

primary
#F2E8BB
secondary
#808ED2
accent
#38D016
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F2E8BB

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

Preview Lab → · Contrast checker → · Palette generator →

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