#FBFFA2#FBFFA2

#FBFFA2 is a very light, moderate yellow. Relative luminance 0.946; OKLCH L 97.7% C 0.115 H 110.5°. Best body text is #000000 at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#FBFFA2
RGBrgb(251, 255, 162)
HSLhsl(63, 100%, 82%)
HSVhsv(63, 36%, 100%)
CMYKcmyk(1.6%, 0%, 36.5%, 0%)
CIE-LABlab(97.89, -14.79, 44.02)
CIE-LCHlch(97.89, 46.44, 108.57°)
OKLaboklab(97.66% -0.0403 0.1079)
OKLCHoklch(97.66% 0.115 110.5)
XYZxyz(82.0660, 94.6392, 48.1194)
Luminance0.9464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFFA2 #A6A2FF
analogous
#FFD5A2 #FBFFA2 #CDFFA2
triadic
#FBFFA2 #A2FBFF #FFA2FB
tetradic
#FBFFA2 #A2FFD5 #A6A2FF #FFA2CD
square
#FBFFA2 #A2FFD5 #A6A2FF #FFA2CD
split-complementary
#FBFFA2 #A2CDFF #D5A2FF
monochromatic
#F6FF28 #F8FF65 #FBFFA2 #FEFFDF #FEFFE0

Accessibility & contrast

On white

1.05
#FBFFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.93
#FBFFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFFA2
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFFA2#FFFFFF#000000##000000
##FBFFA21.001.0519.9319.93
#FFFFFF1.051.0021.0021.00
#00000019.9321.001.001.00
##00000019.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF79B
Deuteranopia (green-blind)
#FFFAA6
Tritanopia (blue-blind)
#FFF4E8
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fbffa2;
/* rgb */ color: rgb(251, 255, 162);
/* oklch */ color: oklch(97.7% 0.115 110.5);
Tailwind
colors: {
  custom: {
    50: '#feffbe',
    500: '#fbffa2',
    950: '#000000',
  },
}
SCSS
$custom: #fbffa2;
$custom-light: #feffbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fbffa2",
  "rgb": {
    "r": 251,
    "g": 255,
    "b": 162
  },
  "hsl": {
    "h": 62.581,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.97661,
    "c": 0.11517,
    "h": 110.5
  },
  "luminance": 0.94638
}

Semantic roles & 50–950 ramp

primary
#FBFFA2
secondary
#6762E3
accent
#00E60A
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBFFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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