#FBF2A3#FBF2A3

#FBF2A3 is a very light, moderate yellow. Relative luminance 0.867; OKLCH L 95.0% C 0.099 H 102.5°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#FBF2A3
RGBrgb(251, 242, 163)
HSLhsl(54, 92%, 81%)
HSVhsv(54, 35%, 98%)
CMYKcmyk(0%, 3.6%, 35.1%, 1.6%)
CIE-LABlab(94.59, -8.28, 39.26)
CIE-LCHlch(94.59, 40.12, 101.92°)
OKLaboklab(95.05% -0.0215 0.097)
OKLCHoklch(95.05% 0.099 102.5)
XYZxyz(78.1477, 86.6597, 47.2536)
Luminance0.8666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2A3 #A3ACFB
analogous
#FBC6A3 #FBF2A3 #D8FBA3
triadic
#FBF2A3 #A3FBF2 #F2A3FB
tetradic
#FBF2A3 #A3FBC6 #A3ACFB #FBA3D8
square
#FBF2A3 #A3FBC6 #A3ACFB #FBA3D8
split-complementary
#FBF2A3 #A3D8FB #C6A3FB
monochromatic
#F6E12E #F8EA68 #FBF2A3 #FEFADE #FEFBE2

Accessibility & contrast

On white

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

On black

18.33
#FBF2A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2A3
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2A3#FFFFFF#000000##000000
##FBF2A31.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf2a3;
/* rgb */ color: rgb(251, 242, 163);
/* oklch */ color: oklch(95.0% 0.099 102.5);
Tailwind
colors: {
  custom: {
    50: '#fef6bf',
    500: '#fbf2a3',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2a3;
$custom-light: #fef6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2a3",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 163
  },
  "hsl": {
    "h": 53.864,
    "s": 91.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.9505,
    "c": 0.09932,
    "h": 102.5
  },
  "luminance": 0.86658
}

Semantic roles & 50–950 ramp

primary
#FBF2A3
secondary
#6571DD
accent
#17E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBF2A3

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

Preview Lab → · Contrast checker → · Palette generator →

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