#FAF0BB#FAF0BB

#FAF0BB is a very light, moderate yellow. Relative luminance 0.862; OKLCH L 95.0% C 0.069 H 98.6°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#FAF0BB
RGBrgb(250, 240, 187)
HSLhsl(50, 86%, 86%)
HSVhsv(50, 25%, 98%)
CMYKcmyk(0%, 4%, 25.2%, 2%)
CIE-LABlab(94.41, -4.71, 26.89)
CIE-LCHlch(94.41, 27.30, 99.93°)
OKLaboklab(95.02% -0.0103 0.0682)
OKLCHoklch(95.02% 0.069 98.6)
XYZxyz(79.5543, 86.2336, 59.4580)
Luminance0.8623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF0BB #BBC5FA
analogous
#FAD0BB #FAF0BB #E4FABB
triadic
#FAF0BB #BBFAF0 #F0BBFA
tetradic
#FAF0BB #BBFAD0 #BBC5FA #FABBE4
square
#FAF0BB #BBFAD0 #BBC5FA #FABBE4
split-complementary
#FAF0BB #BBE4FA #D0BBFA
monochromatic
#F2D749 #F6E382 #FAF0BB #FDF9E2 #FDF9E2

Accessibility & contrast

On white

1.15
#FAF0BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.25
#FAF0BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF0BB
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF0BB#FFFFFF#000000##000000
##FAF0BB1.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEDB8
Deuteranopia (green-blind)
#FEF1BD
Tritanopia (blue-blind)
#FFE8E2
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf0bb;
/* rgb */ color: rgb(250, 240, 187);
/* oklch */ color: oklch(95.0% 0.069 98.6);
Tailwind
colors: {
  custom: {
    50: '#fcf4cf',
    500: '#faf0bb',
    950: '#000000',
  },
}
SCSS
$custom: #faf0bb;
$custom-light: #fcf4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#faf0bb",
  "rgb": {
    "r": 250,
    "g": 240,
    "b": 187
  },
  "hsl": {
    "h": 50.476,
    "s": 86.301,
    "l": 85.686
  },
  "oklch": {
    "l": 0.95019,
    "c": 0.06893,
    "h": 98.6
  },
  "luminance": 0.86232
}

Semantic roles & 50–950 ramp

primary
#FAF0BB
secondary
#7B8BDE
accent
#26E303
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #FAF0BB

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

Preview Lab → · Contrast checker → · Palette generator →

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