#FAF4BB#FAF4BB

#FAF4BB is a very light, moderate yellow. Relative luminance 0.886; OKLCH L 95.8% C 0.073 H 102.6°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FAF4BB
RGBrgb(250, 244, 187)
HSLhsl(54, 86%, 86%)
HSVhsv(54, 25%, 98%)
CMYKcmyk(0%, 2.4%, 25.2%, 2%)
CIE-LABlab(95.42, -6.71, 28.27)
CIE-LCHlch(95.42, 29.05, 103.35°)
OKLaboklab(95.82% -0.016 0.0715)
OKLCHoklch(95.82% 0.073 102.6)
XYZxyz(80.7448, 88.6146, 59.8549)
Luminance0.8861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF4BB #BBC1FA
analogous
#FAD4BB #FAF4BB #E0FABB
triadic
#FAF4BB #BBFAF4 #F4BBFA
tetradic
#FAF4BB #BBFAD4 #BBC1FA #FABBE0
square
#FAF4BB #BBFAD4 #BBC1FA #FABBE0
split-complementary
#FAF4BB #BBE0FA #D4BBFA
monochromatic
#F2E249 #F6EB82 #FAF4BB #FDFAE2 #FDFAE2

Accessibility & contrast

On white

1.12
#FAF4BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#FAF4BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF4BB
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF4BB#FFFFFF#000000##000000
##FAF4BB1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0B7
Deuteranopia (green-blind)
#FFF3BD
Tritanopia (blue-blind)
#FFECE5
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf4bb;
/* rgb */ color: rgb(250, 244, 187);
/* oklch */ color: oklch(95.8% 0.073 102.6);
Tailwind
colors: {
  custom: {
    50: '#fcf7cf',
    500: '#faf4bb',
    950: '#000000',
  },
}
SCSS
$custom: #faf4bb;
$custom-light: #fcf7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#faf4bb",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 187
  },
  "hsl": {
    "h": 54.286,
    "s": 86.301,
    "l": 85.686
  },
  "oklch": {
    "l": 0.95815,
    "c": 0.07326,
    "h": 102.6
  },
  "luminance": 0.88613
}

Semantic roles & 50–950 ramp

primary
#FAF4BB
secondary
#7B84DE
accent
#18E303
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #FAF4BB

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

Preview Lab → · Contrast checker → · Palette generator →

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