#FBF2AB#FBF2AB

#FBF2AB is a very light, moderate yellow. Relative luminance 0.870; OKLCH L 95.2% C 0.090 H 101.8°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#FBF2AB
RGBrgb(251, 242, 171)
HSLhsl(53, 91%, 83%)
HSVhsv(53, 32%, 98%)
CMYKcmyk(0%, 3.6%, 31.9%, 1.6%)
CIE-LABlab(94.72, -7.35, 35.42)
CIE-LCHlch(94.72, 36.18, 101.73°)
OKLaboklab(95.19% -0.0184 0.0882)
OKLCHoklch(95.19% 0.09 101.8)
XYZxyz(78.8873, 86.9555, 51.1487)
Luminance0.8695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2AB #ABB4FB
analogous
#FBCAAB #FBF2AB #DCFBAB
triadic
#FBF2AB #ABFBF2 #F2ABFB
tetradic
#FBF2AB #ABFBCA #ABB4FB #FBABDC
square
#FBF2AB #ABFBCA #ABB4FB #FBABDC
split-complementary
#FBF2AB #ABDCFB #CAABFB
monochromatic
#F5E036 #F8E971 #FBF2AB #FEFAE2 #FEFAE2

Accessibility & contrast

On white

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

On black

18.39
#FBF2AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2AB
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2AB#FFFFFF#000000##000000
##FBF2AB1.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEDA6
Deuteranopia (green-blind)
#FFF2AE
Tritanopia (blue-blind)
#FFE9E0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf2ab;
/* rgb */ color: rgb(251, 242, 171);
/* oklch */ color: oklch(95.2% 0.090 101.8);
Tailwind
colors: {
  custom: {
    50: '#fdf6c4',
    500: '#fbf2ab',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2ab;
$custom-light: #fdf6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2ab",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 171
  },
  "hsl": {
    "h": 53.25,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.95191,
    "c": 0.09014,
    "h": 101.8
  },
  "luminance": 0.86954
}

Semantic roles & 50–950 ramp

primary
#FBF2AB
secondary
#6C79DE
accent
#1AE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FBF2AB

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

Preview Lab → · Contrast checker → · Palette generator →

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