#FBF2AF#FBF2AF

#FBF2AF is a very light, moderate yellow. Relative luminance 0.871; OKLCH L 95.3% C 0.085 H 101.4°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FBF2AF
RGBrgb(251, 242, 175)
HSLhsl(53, 90%, 84%)
HSVhsv(53, 30%, 98%)
CMYKcmyk(0%, 3.6%, 30.3%, 1.6%)
CIE-LABlab(94.79, -6.87, 33.50)
CIE-LCHlch(94.79, 34.19, 101.59°)
OKLaboklab(95.26% -0.0169 0.0838)
OKLCHoklch(95.26% 0.085 101.4)
XYZxyz(79.2743, 87.1104, 53.1871)
Luminance0.8711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2AF #AFB8FB
analogous
#FBCCAF #FBF2AF #DEFBAF
triadic
#FBF2AF #AFFBF2 #F2AFFB
tetradic
#FBF2AF #AFFBCC #AFB8FB #FBAFDE
square
#FBF2AF #AFFBCC #AFB8FB #FBAFDE
split-complementary
#FBF2AF #AFDEFB #CCAFFB
monochromatic
#F5DF3A #F8E975 #FBF2AF #FEFAE2 #FEFAE2

Accessibility & contrast

On white

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

On black

18.42
#FBF2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2AF
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2AF#FFFFFF#000000##000000
##FBF2AF1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEEAA
Deuteranopia (green-blind)
#FFF2B1
Tritanopia (blue-blind)
#FFE9E0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf2af;
/* rgb */ color: rgb(251, 242, 175);
/* oklch */ color: oklch(95.3% 0.085 101.4);
Tailwind
colors: {
  custom: {
    50: '#fdf6c7',
    500: '#fbf2af',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2af;
$custom-light: #fdf6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2af",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 175
  },
  "hsl": {
    "h": 52.895,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.95264,
    "c": 0.08546,
    "h": 101.4
  },
  "luminance": 0.87109
}

Semantic roles & 50–950 ramp

primary
#FBF2AF
secondary
#6F7DDF
accent
#1BE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FBF2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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