#FAF2BB#FAF2BB

#FAF2BB is a very light, moderate yellow. Relative luminance 0.874; OKLCH L 95.4% C 0.071 H 100.7°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FAF2BB
RGBrgb(250, 242, 187)
HSLhsl(52, 86%, 86%)
HSVhsv(52, 25%, 98%)
CMYKcmyk(0%, 3.2%, 25.2%, 2%)
CIE-LABlab(94.92, -5.71, 27.58)
CIE-LCHlch(94.92, 28.16, 101.70°)
OKLaboklab(95.42% -0.0132 0.0698)
OKLCHoklch(95.42% 0.071 100.7)
XYZxyz(80.1463, 87.4176, 59.6553)
Luminance0.8742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF2BB #BBC3FA
analogous
#FAD2BB #FAF2BB #E2FABB
triadic
#FAF2BB #BBFAF2 #F2BBFA
tetradic
#FAF2BB #BBFAD2 #BBC3FA #FABBE2
square
#FAF2BB #BBFAD2 #BBC3FA #FABBE2
split-complementary
#FAF2BB #BBE2FA #D2BBFA
monochromatic
#F2DC49 #F6E782 #FAF2BB #FDFAE2 #FDFAE2

Accessibility & contrast

On white

1.14
#FAF2BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#FAF2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF2BB
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF2BB#FFFFFF#000000##000000
##FAF2BB1.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEEB7
Deuteranopia (green-blind)
#FFF2BD
Tritanopia (blue-blind)
#FFEAE3
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf2bb;
/* rgb */ color: rgb(250, 242, 187);
/* oklch */ color: oklch(95.4% 0.071 100.7);
Tailwind
colors: {
  custom: {
    50: '#fcf6cf',
    500: '#faf2bb',
    950: '#000000',
  },
}
SCSS
$custom: #faf2bb;
$custom-light: #fcf6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#faf2bb",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 187
  },
  "hsl": {
    "h": 52.381,
    "s": 86.301,
    "l": 85.686
  },
  "oklch": {
    "l": 0.95416,
    "c": 0.07105,
    "h": 100.7
  },
  "luminance": 0.87416
}

Semantic roles & 50–950 ramp

primary
#FAF2BB
secondary
#7B87DE
accent
#1FE303
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #FAF2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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