#FBFBAF#FBFBAF

#FBFBAF is a very light, moderate yellow. Relative luminance 0.926; OKLCH L 97.1% C 0.096 H 108.1°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FBFBAF
RGBrgb(251, 251, 175)
HSLhsl(60, 90%, 84%)
HSVhsv(60, 30%, 98%)
CMYKcmyk(0%, 0%, 30.3%, 1.6%)
CIE-LABlab(97.07, -11.33, 36.53)
CIE-LCHlch(97.07, 38.25, 107.22°)
OKLaboklab(97.07% -0.0296 0.0909)
OKLCHoklch(97.07% 0.096 108.1)
XYZxyz(82.0192, 92.6001, 54.1020)
Luminance0.9260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFBAF #AFAFFB
analogous
#FBD5AF #FBFBAF #D5FBAF
triadic
#FBFBAF #AFFBFB #FBAFFB
tetradic
#FBFBAF #AFFBD5 #AFAFFB #FBAFD5
square
#FBFBAF #AFFBD5 #AFAFFB #FBAFD5
split-complementary
#FBFBAF #AFD5FB #D5AFFB
monochromatic
#F5F53A #F8F875 #FBFBAF #FEFEE2 #FEFEE2

Accessibility & contrast

On white

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

On black

19.52
#FBFBAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFBAF
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFBAF#FFFFFF#000000##000000
##FBFBAF1.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5AA
Deuteranopia (green-blind)
#FFF8B2
Tritanopia (blue-blind)
#FFF2E7
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fbfbaf;
/* rgb */ color: rgb(251, 251, 175);
/* oklch */ color: oklch(97.1% 0.096 108.1);
Tailwind
colors: {
  custom: {
    50: '#fdfcc7',
    500: '#fbfbaf',
    950: '#000000',
  },
}
SCSS
$custom: #fbfbaf;
$custom-light: #fdfcc7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfbaf",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 175
  },
  "hsl": {
    "h": 60,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.97071,
    "c": 0.09565,
    "h": 108.1
  },
  "luminance": 0.92599
}

Semantic roles & 50–950 ramp

primary
#FBFBAF
secondary
#6F6FDF
accent
#00E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FBFBAF

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

Preview Lab → · Contrast checker → · Palette generator →

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