#FBF2A2#FBF2A2

#FBF2A2 is a very light, moderate yellow. Relative luminance 0.866; OKLCH L 95.0% C 0.100 H 102.6°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#FBF2A2
RGBrgb(251, 242, 162)
HSLhsl(54, 92%, 81%)
HSVhsv(54, 35%, 98%)
CMYKcmyk(0%, 3.6%, 35.5%, 1.6%)
CIE-LABlab(94.58, -8.40, 39.73)
CIE-LCHlch(94.58, 40.61, 101.93°)
OKLaboklab(95.03% -0.0219 0.098)
OKLCHoklch(95.03% 0.1 102.6)
XYZxyz(78.0584, 86.6240, 46.7836)
Luminance0.8662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2A2 #A2ABFB
analogous
#FBC5A2 #FBF2A2 #D7FBA2
triadic
#FBF2A2 #A2FBF2 #F2A2FB
tetradic
#FBF2A2 #A2FBC5 #A2ABFB #FBA2D7
square
#FBF2A2 #A2FBC5 #A2ABFB #FBA2D7
split-complementary
#FBF2A2 #A2D7FB #C5A2FB
monochromatic
#F6E22D #F8EA67 #FBF2A2 #FEFADD #FEFBE2

Accessibility & contrast

On white

1.15
#FBF2A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#FBF2A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2A2
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2A2#FFFFFF#000000##000000
##FBF2A21.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED9C
Deuteranopia (green-blind)
#FFF2A5
Tritanopia (blue-blind)
#FFE8DE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf2a2;
/* rgb */ color: rgb(251, 242, 162);
/* oklch */ color: oklch(95.0% 0.100 102.6);
Tailwind
colors: {
  custom: {
    50: '#fef6be',
    500: '#fbf2a2',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2a2;
$custom-light: #fef6be;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2a2",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 162
  },
  "hsl": {
    "h": 53.933,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.95033,
    "c": 0.10045,
    "h": 102.6
  },
  "luminance": 0.86622
}

Semantic roles & 50–950 ramp

primary
#FBF2A2
secondary
#6470DD
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF2A2

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

Preview Lab → · Contrast checker → · Palette generator →

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