#FBEC91#FBEC91

#FBEC91 is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.6% C 0.113 H 100.1°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#FBEC91
RGBrgb(251, 236, 145)
HSLhsl(52, 93%, 78%)
HSVhsv(52, 42%, 98%)
CMYKcmyk(0%, 6%, 42.2%, 1.6%)
CIE-LABlab(92.82, -7.22, 45.86)
CIE-LCHlch(92.82, 46.42, 98.94°)
OKLaboklab(93.56% -0.0198 0.1113)
OKLCHoklch(93.56% 0.113 100.1)
XYZxyz(74.8916, 82.5468, 38.7707)
Luminance0.8254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC91 #91A0FB
analogous
#FBB791 #FBEC91 #D5FB91
triadic
#FBEC91 #91FBEC #EC91FB
tetradic
#FBEC91 #91FBB7 #91A0FB #FB91D5
square
#FBEC91 #91FBB7 #91A0FB #FB91D5
split-complementary
#FBEC91 #91D5FB #B791FB
monochromatic
#F7D81B #F9E256 #FBEC91 #FDF6CC #FEFAE1

Accessibility & contrast

On white

1.20
#FBEC91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#FBEC91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC91
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC91#FFFFFF#000000##000000
##FBEC911.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE78A
Deuteranopia (green-blind)
#FFED95
Tritanopia (blue-blind)
#FFE0D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fbec91;
/* rgb */ color: rgb(251, 236, 145);
/* oklch */ color: oklch(93.6% 0.113 100.1);
Tailwind
colors: {
  custom: {
    50: '#fef2b2',
    500: '#fbec91',
    950: '#000000',
  },
}
SCSS
$custom: #fbec91;
$custom-light: #fef2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec91",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 145
  },
  "hsl": {
    "h": 51.509,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.93557,
    "c": 0.11303,
    "h": 100.1
  },
  "luminance": 0.82544
}

Semantic roles & 50–950 ramp

primary
#FBEC91
secondary
#5568DB
accent
#20E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FBEC91

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

Preview Lab → · Contrast checker → · Palette generator →

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