#FBFBA2#FBFBA2

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

Color values

HEX#FBFBA2
RGBrgb(251, 251, 162)
HSLhsl(60, 92%, 81%)
HSVhsv(60, 35%, 98%)
CMYKcmyk(0%, 0%, 35.5%, 1.6%)
CIE-LABlab(96.87, -12.83, 42.70)
CIE-LCHlch(96.87, 44.59, 106.73°)
OKLaboklab(96.85% -0.0347 0.1049)
OKLCHoklch(96.85% 0.11 108.3)
XYZxyz(80.8033, 92.1137, 47.6985)
Luminance0.9211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFBA2 #A2A2FB
analogous
#FBCEA2 #FBFBA2 #CEFBA2
triadic
#FBFBA2 #A2FBFB #FBA2FB
tetradic
#FBFBA2 #A2FBCE #A2A2FB #FBA2CE
square
#FBFBA2 #A2FBCE #A2A2FB #FBA2CE
split-complementary
#FBFBA2 #A2CEFB #CEA2FB
monochromatic
#F6F62D #F8F867 #FBFBA2 #FEFEDD #FEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBFBA2#FFFFFF#000000##000000
##FBFBA21.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)
#FFF49B
Deuteranopia (green-blind)
#FFF8A6
Tritanopia (blue-blind)
#FFF1E5
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbfba2;
/* rgb */ color: rgb(251, 251, 162);
/* oklch */ color: oklch(96.8% 0.110 108.3);
Tailwind
colors: {
  custom: {
    50: '#fefcbe',
    500: '#fbfba2',
    950: '#000000',
  },
}
SCSS
$custom: #fbfba2;
$custom-light: #fefcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfba2",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 60,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.96848,
    "c": 0.11047,
    "h": 108.3
  },
  "luminance": 0.92112
}

Semantic roles & 50–950 ramp

primary
#FBFBA2
secondary
#6464DD
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBFBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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