#F2E7BB#F2E7BB

#F2E7BB is a very light, muted yellow. Relative luminance 0.796; OKLCH L 92.6% C 0.058 H 95.6°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#F2E7BB
RGBrgb(242, 231, 187)
HSLhsl(48, 68%, 84%)
HSVhsv(48, 23%, 95%)
CMYKcmyk(0%, 4.5%, 22.7%, 5.1%)
CIE-LABlab(91.51, -3.11, 22.81)
CIE-LCHlch(91.51, 23.02, 97.75°)
OKLaboklab(92.58% -0.0057 0.0582)
OKLCHoklch(92.58% 0.058 95.6)
XYZxyz(74.1635, 79.6183, 58.4651)
Luminance0.7962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E7BB #BBC6F2
analogous
#F2CCBB #F2E7BB #E2F2BB
triadic
#F2E7BB #BBF2E7 #E7BBF2
tetradic
#F2E7BB #BBF2CC #BBC6F2 #F2BBE2
square
#F2E7BB #BBF2CC #BBC6F2 #F2BBE2
split-complementary
#F2E7BB #BBE2F2 #CCBBF2
monochromatic
#DEC354 #E8D588 #F2E7BB #FAF6E5 #FAF6E5

Accessibility & contrast

On white

1.24
#F2E7BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#F2E7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E7BB
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E7BB#FFFFFF#000000##000000
##F2E7BB1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0E4B8
Deuteranopia (green-blind)
#F4E8BC
Tritanopia (blue-blind)
#FBE0DB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2e7bb;
/* rgb */ color: rgb(242, 231, 187);
/* oklch */ color: oklch(92.6% 0.058 95.6);
Tailwind
colors: {
  custom: {
    50: '#f6eecf',
    500: '#f2e7bb',
    950: '#000000',
  },
}
SCSS
$custom: #f2e7bb;
$custom-light: #f6eecf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e7bb",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 187
  },
  "hsl": {
    "h": 48,
    "s": 67.901,
    "l": 84.118
  },
  "oklch": {
    "l": 0.92577,
    "c": 0.05847,
    "h": 95.6
  },
  "luminance": 0.79617
}

Semantic roles & 50–950 ramp

primary
#F2E7BB
secondary
#8090D2
accent
#3BD016
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F2E7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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