#FBF2A6#FBF2A6

#FBF2A6 is a very light, moderate yellow. Relative luminance 0.868; OKLCH L 95.1% C 0.096 H 102.3°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FBF2A6
RGBrgb(251, 242, 166)
HSLhsl(54, 91%, 82%)
HSVhsv(54, 34%, 98%)
CMYKcmyk(0%, 3.6%, 33.9%, 1.6%)
CIE-LABlab(94.64, -7.94, 37.82)
CIE-LCHlch(94.64, 38.65, 101.86°)
OKLaboklab(95.1% -0.0204 0.0937)
OKLCHoklch(95.1% 0.096 102.3)
XYZxyz(78.4197, 86.7685, 48.6860)
Luminance0.8677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2A6 #A6AFFB
analogous
#FBC8A6 #FBF2A6 #DAFBA6
triadic
#FBF2A6 #A6FBF2 #F2A6FB
tetradic
#FBF2A6 #A6FBC8 #A6AFFB #FBA6DA
square
#FBF2A6 #A6FBC8 #A6AFFB #FBA6DA
split-complementary
#FBF2A6 #A6DAFB #C8A6FB
monochromatic
#F6E131 #F8E96B #FBF2A6 #FEFBE1 #FEFBE2

Accessibility & contrast

On white

1.14
#FBF2A6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#FBF2A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2A6
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2A6#FFFFFF#000000##000000
##FBF2A61.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEDA1
Deuteranopia (green-blind)
#FFF2A9
Tritanopia (blue-blind)
#FFE8DF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf2a6;
/* rgb */ color: rgb(251, 242, 166);
/* oklch */ color: oklch(95.1% 0.096 102.3);
Tailwind
colors: {
  custom: {
    50: '#fdf6c1',
    500: '#fbf2a6',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2a6;
$custom-light: #fdf6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2a6",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 166
  },
  "hsl": {
    "h": 53.647,
    "s": 91.398,
    "l": 81.765
  },
  "oklch": {
    "l": 0.95102,
    "c": 0.0959,
    "h": 102.3
  },
  "luminance": 0.86767
}

Semantic roles & 50–950 ramp

primary
#FBF2A6
secondary
#6774DE
accent
#18E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBF2A6

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

Preview Lab → · Contrast checker → · Palette generator →

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