#FBFAC2#FBFAC2

#FBFAC2 is a very light, moderate yellow. Relative luminance 0.928; OKLCH L 97.2% C 0.072 H 106.8°. Best body text is #000000 at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#FBFAC2
RGBrgb(251, 250, 194)
HSLhsl(59, 88%, 87%)
HSVhsv(59, 23%, 98%)
CMYKcmyk(0%, 0.4%, 22.7%, 1.6%)
CIE-LABlab(97.14, -8.39, 27.07)
CIE-LCHlch(97.14, 28.34, 107.22°)
OKLaboklab(97.23% -0.0207 0.0687)
OKLCHoklch(97.23% 0.072 106.8)
XYZxyz(83.7067, 92.7766, 64.5265)
Luminance0.9277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFAC2 #C2C3FB
analogous
#FBDDC2 #FBFAC2 #E0FBC2
triadic
#FBFAC2 #C2FBFA #FAC2FB
tetradic
#FBFAC2 #C2FBDD #C2C3FB #FBC2E0
square
#FBFAC2 #C2FBDD #C2C3FB #FBC2E0
split-complementary
#FBFAC2 #C2E0FB #DDC2FB
monochromatic
#F3F14F #F7F589 #FBFAC2 #FDFDE2 #FDFDE2

Accessibility & contrast

On white

1.07
#FBFAC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.56
#FBFAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFAC2
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFAC2#FFFFFF#000000##000000
##FBFAC21.001.0719.5619.56
#FFFFFF1.071.0021.0021.00
#00000019.5621.001.001.00
##00000019.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5BE
Deuteranopia (green-blind)
#FFF8C4
Tritanopia (blue-blind)
#FFF3EB
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fbfac2;
/* rgb */ color: rgb(251, 250, 194);
/* oklch */ color: oklch(97.2% 0.072 106.8);
Tailwind
colors: {
  custom: {
    50: '#fdfbd4',
    500: '#fbfac2',
    950: '#000000',
  },
}
SCSS
$custom: #fbfac2;
$custom-light: #fdfbd4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfac2",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 58.947,
    "s": 87.692,
    "l": 87.255
  },
  "oklch": {
    "l": 0.97234,
    "c": 0.07174,
    "h": 106.8
  },
  "luminance": 0.92775
}

Semantic roles & 50–950 ramp

primary
#FBFAC2
secondary
#8082E1
accent
#05E401
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #FBFAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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