#FBECA2#FBECA2

#FBECA2 is a very light, moderate yellow. Relative luminance 0.831; OKLCH L 93.8% C 0.094 H 98.1°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#FBECA2
RGBrgb(251, 236, 162)
HSLhsl(50, 92%, 81%)
HSVhsv(50, 35%, 98%)
CMYKcmyk(0%, 6%, 35.5%, 1.6%)
CIE-LABlab(93.06, -5.40, 37.75)
CIE-LCHlch(93.06, 38.14, 98.14°)
OKLaboklab(93.83% -0.0133 0.0934)
OKLCHoklch(93.83% 0.094 98.1)
XYZxyz(76.3019, 83.1109, 46.1981)
Luminance0.8311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBECA2 #A2B1FB
analogous
#FBBFA2 #FBECA2 #DDFBA2
triadic
#FBECA2 #A2FBEC #ECA2FB
tetradic
#FBECA2 #A2FBBF #A2B1FB #FBA2DD
square
#FBECA2 #A2FBBF #A2B1FB #FBA2DD
split-complementary
#FBECA2 #A2DDFB #BFA2FB
monochromatic
#F6D42D #F8E067 #FBECA2 #FEF8DD #FEF9E2

Accessibility & contrast

On white

1.19
#FBECA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#FBECA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBECA2
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBECA2#FFFFFF#000000##000000
##FBECA21.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE89D
Deuteranopia (green-blind)
#FEEEA5
Tritanopia (blue-blind)
#FFE2D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fbeca2;
/* rgb */ color: rgb(251, 236, 162);
/* oklch */ color: oklch(93.8% 0.094 98.1);
Tailwind
colors: {
  custom: {
    50: '#fef2be',
    500: '#fbeca2',
    950: '#000000',
  },
}
SCSS
$custom: #fbeca2;
$custom-light: #fef2be;
$custom-dark: #000000;
JSON
{
  "hex": "#fbeca2",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 162
  },
  "hsl": {
    "h": 49.888,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.93834,
    "c": 0.09436,
    "h": 98.1
  },
  "luminance": 0.83109
}

Semantic roles & 50–950 ramp

primary
#FBECA2
secondary
#6478DD
accent
#27E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FBECA2

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

Preview Lab → · Contrast checker → · Palette generator →

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