#FAF2BD#FAF2BD

#FAF2BD is a very light, moderate yellow. Relative luminance 0.875; OKLCH L 95.5% C 0.069 H 100.4°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#FAF2BD
RGBrgb(250, 242, 189)
HSLhsl(52, 86%, 86%)
HSVhsv(52, 24%, 98%)
CMYKcmyk(0%, 3.2%, 24.4%, 2%)
CIE-LABlab(94.95, -5.44, 26.61)
CIE-LCHlch(94.95, 27.16, 101.56°)
OKLaboklab(95.46% -0.0124 0.0675)
OKLCHoklch(95.46% 0.069 100.4)
XYZxyz(80.3619, 87.5038, 60.7908)
Luminance0.8750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF2BD #BDC5FA
analogous
#FAD3BD #FAF2BD #E3FABD
triadic
#FAF2BD #BDFAF2 #F2BDFA
tetradic
#FAF2BD #BDFAD3 #BDC5FA #FABDE3
square
#FAF2BD #BDFAD3 #BDC5FA #FABDE3
split-complementary
#FAF2BD #BDE3FA #D3BDFA
monochromatic
#F1DC4B #F6E784 #FAF2BD #FDF9E3 #FDF9E3

Accessibility & contrast

On white

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

On black

18.50
#FAF2BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF2BD
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF2BD#FFFFFF#000000##000000
##FAF2BD1.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEEBA
Deuteranopia (green-blind)
#FFF2BF
Tritanopia (blue-blind)
#FFEAE4
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf2bd;
/* rgb */ color: rgb(250, 242, 189);
/* oklch */ color: oklch(95.5% 0.069 100.4);
Tailwind
colors: {
  custom: {
    50: '#fcf6d1',
    500: '#faf2bd',
    950: '#000000',
  },
}
SCSS
$custom: #faf2bd;
$custom-light: #fcf6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf2bd",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 189
  },
  "hsl": {
    "h": 52.131,
    "s": 85.915,
    "l": 86.078
  },
  "oklch": {
    "l": 0.95457,
    "c": 0.06862,
    "h": 100.4
  },
  "luminance": 0.87502
}

Semantic roles & 50–950 ramp

primary
#FAF2BD
secondary
#7D89DF
accent
#20E203
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #FAF2BD

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

Preview Lab → · Contrast checker → · Palette generator →

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