#FBEFA2#FBEFA2

#FBEFA2 is a very light, moderate yellow. Relative luminance 0.849; OKLCH L 94.4% C 0.097 H 100.4°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#FBEFA2
RGBrgb(251, 239, 162)
HSLhsl(52, 92%, 81%)
HSVhsv(52, 35%, 98%)
CMYKcmyk(0%, 4.8%, 35.5%, 1.6%)
CIE-LABlab(93.82, -6.90, 38.74)
CIE-LCHlch(93.82, 39.35, 100.10°)
OKLaboklab(94.43% -0.0176 0.0957)
OKLCHoklch(94.43% 0.097 100.4)
XYZxyz(77.1729, 84.8529, 46.4884)
Luminance0.8485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEFA2 #A2AEFB
analogous
#FBC2A2 #FBEFA2 #DAFBA2
triadic
#FBEFA2 #A2FBEF #EFA2FB
tetradic
#FBEFA2 #A2FBC2 #A2AEFB #FBA2DA
square
#FBEFA2 #A2FBC2 #A2AEFB #FBA2DA
split-complementary
#FBEFA2 #A2DAFB #C2A2FB
monochromatic
#F6DB2D #F8E567 #FBEFA2 #FEF9DD #FEFAE2

Accessibility & contrast

On white

1.17
#FBEFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.97
#FBEFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEFA2
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEFA2#FFFFFF#000000##000000
##FBEFA21.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEA9D
Deuteranopia (green-blind)
#FFF0A5
Tritanopia (blue-blind)
#FFE5DB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbefa2;
/* rgb */ color: rgb(251, 239, 162);
/* oklch */ color: oklch(94.4% 0.097 100.4);
Tailwind
colors: {
  custom: {
    50: '#fef4be',
    500: '#fbefa2',
    950: '#000000',
  },
}
SCSS
$custom: #fbefa2;
$custom-light: #fef4be;
$custom-dark: #000000;
JSON
{
  "hex": "#fbefa2",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 162
  },
  "hsl": {
    "h": 51.91,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.94432,
    "c": 0.09733,
    "h": 100.4
  },
  "luminance": 0.84851
}

Semantic roles & 50–950 ramp

primary
#FBEFA2
secondary
#6474DD
accent
#1FE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBEFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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