#FBF2C2#FBF2C2

#FBF2C2 is a very light, moderate yellow. Relative luminance 0.879; OKLCH L 95.6% C 0.063 H 98.6°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#FBF2C2
RGBrgb(251, 242, 194)
HSLhsl(51, 88%, 87%)
HSVhsv(51, 23%, 98%)
CMYKcmyk(0%, 3.6%, 22.7%, 1.6%)
CIE-LABlab(95.12, -4.40, 24.31)
CIE-LCHlch(95.12, 24.70, 100.27°)
OKLaboklab(95.64% -0.0094 0.0619)
OKLCHoklch(95.64% 0.063 98.6)
XYZxyz(81.2733, 87.9100, 63.7154)
Luminance0.8791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2C2 #C2CBFB
analogous
#FBD6C2 #FBF2C2 #E8FBC2
triadic
#FBF2C2 #C2FBF2 #F2C2FB
tetradic
#FBF2C2 #C2FBD6 #C2CBFB #FBC2E8
square
#FBF2C2 #C2FBD6 #C2CBFB #FBC2E8
split-complementary
#FBF2C2 #C2E8FB #D6C2FB
monochromatic
#F3DA4F #F7E689 #FBF2C2 #FDF9E2 #FDF9E2

Accessibility & contrast

On white

1.13
#FBF2C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#FBF2C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2C2
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2C2#FFFFFF#000000##000000
##FBF2C21.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEFBF
Deuteranopia (green-blind)
#FFF3C4
Tritanopia (blue-blind)
#FFEBE5
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf2c2;
/* rgb */ color: rgb(251, 242, 194);
/* oklch */ color: oklch(95.6% 0.063 98.6);
Tailwind
colors: {
  custom: {
    50: '#fdf6d4',
    500: '#fbf2c2',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2c2;
$custom-light: #fdf6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2c2",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 194
  },
  "hsl": {
    "h": 50.526,
    "s": 87.692,
    "l": 87.255
  },
  "oklch": {
    "l": 0.95642,
    "c": 0.06262,
    "h": 98.6
  },
  "luminance": 0.87909
}

Semantic roles & 50–950 ramp

primary
#FBF2C2
secondary
#8090E1
accent
#25E401
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #FBF2C2

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

Preview Lab → · Contrast checker → · Palette generator →

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