#FBFAB2#FBFAB2

#FBFAB2 is a very light, moderate yellow. Relative luminance 0.921; OKLCH L 96.9% C 0.091 H 107.3°. Best body text is #000000 at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#FBFAB2
RGBrgb(251, 250, 178)
HSLhsl(59, 90%, 84%)
HSVhsv(59, 29%, 98%)
CMYKcmyk(0%, 0.4%, 29.1%, 1.6%)
CIE-LABlab(96.86, -10.47, 34.76)
CIE-LCHlch(96.86, 36.30, 106.76°)
OKLaboklab(96.92% -0.0271 0.0868)
OKLCHoklch(96.92% 0.091 107.3)
XYZxyz(82.0055, 92.0961, 55.5672)
Luminance0.9210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFAB2 #B2B3FB
analogous
#FBD6B2 #FBFAB2 #D8FBB2
triadic
#FBFAB2 #B2FBFA #FAB2FB
tetradic
#FBFAB2 #B2FBD6 #B2B3FB #FBB2D8
square
#FBFAB2 #B2FBD6 #B2B3FB #FBB2D8
split-complementary
#FBFAB2 #B2D8FB #D6B2FB
monochromatic
#F5F23E #F8F678 #FBFAB2 #FDFDE2 #FDFDE2

Accessibility & contrast

On white

1.08
#FBFAB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.42
#FBFAB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFAB2
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFAB2#FFFFFF#000000##000000
##FBFAB21.001.0819.4219.42
#FFFFFF1.081.0021.0021.00
#00000019.4221.001.001.00
##00000019.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4AD
Deuteranopia (green-blind)
#FFF7B5
Tritanopia (blue-blind)
#FFF1E7
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbfab2;
/* rgb */ color: rgb(251, 250, 178);
/* oklch */ color: oklch(96.9% 0.091 107.3);
Tailwind
colors: {
  custom: {
    50: '#fdfbc9',
    500: '#fbfab2',
    950: '#000000',
  },
}
SCSS
$custom: #fbfab2;
$custom-light: #fdfbc9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfab2",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 178
  },
  "hsl": {
    "h": 59.178,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.96924,
    "c": 0.09096,
    "h": 107.3
  },
  "luminance": 0.92095
}

Semantic roles & 50–950 ramp

primary
#FBFAB2
secondary
#7274DF
accent
#03E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FBFAB2

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

Preview Lab → · Contrast checker → · Palette generator →

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