#FFFBAB#FFFBAB

#FFFBAB is a very light, moderate yellow. Relative luminance 0.932; OKLCH L 97.3% C 0.100 H 105.7°. Best body text is #000000 at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#FFFBAB
RGBrgb(255, 251, 171)
HSLhsl(57, 100%, 84%)
HSVhsv(57, 33%, 100%)
CMYKcmyk(0%, 1.6%, 32.9%, 0%)
CIE-LABlab(97.31, -10.31, 38.89)
CIE-LCHlch(97.31, 40.24, 104.84°)
OKLaboklab(97.32% -0.027 0.0964)
OKLCHoklch(97.32% 0.1 105.7)
XYZxyz(83.0887, 93.1963, 52.1319)
Luminance0.9319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFBAB #ABAFFF
analogous
#FFD1AB #FFFBAB #D9FFAB
triadic
#FFFBAB #ABFFFB #FBABFF
tetradic
#FFFBAB #ABFFD1 #ABAFFF #FFABD9
square
#FFFBAB #ABFFD1 #ABAFFF #FFABD9
split-complementary
#FFFBAB #ABD9FF #D1ABFF
monochromatic
#FFF531 #FFF86E #FFFBAB #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

19.64
#FFFBAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFBAB
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFBAB#FFFFFF#000000##000000
##FFFBAB1.001.0719.6419.64
#FFFFFF1.071.0021.0021.00
#00000019.6421.001.001.00
##00000019.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5A5
Deuteranopia (green-blind)
#FFF9AE
Tritanopia (blue-blind)
#FFF1E7
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffbab;
/* rgb */ color: rgb(255, 251, 171);
/* oklch */ color: oklch(97.3% 0.100 105.7);
Tailwind
colors: {
  custom: {
    50: '#fffcc4',
    500: '#fffbab',
    950: '#000000',
  },
}
SCSS
$custom: #fffbab;
$custom-light: #fffcc4;
$custom-dark: #000000;
JSON
{
  "hex": "#fffbab",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 171
  },
  "hsl": {
    "h": 57.143,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.97317,
    "c": 0.10007,
    "h": 105.7
  },
  "luminance": 0.93195
}

Semantic roles & 50–950 ramp

primary
#FFFBAB
secondary
#6A6FE5
accent
#0BE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFFBAB

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

Preview Lab → · Contrast checker → · Palette generator →

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