#FBEC92#FBEC92

#FBEC92 is a very light, moderate yellow. Relative luminance 0.826; OKLCH L 93.6% C 0.112 H 100.0°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#FBEC92
RGBrgb(251, 236, 146)
HSLhsl(51, 93%, 78%)
HSVhsv(51, 42%, 98%)
CMYKcmyk(0%, 6%, 41.8%, 1.6%)
CIE-LABlab(92.83, -7.12, 45.38)
CIE-LCHlch(92.83, 45.94, 98.91°)
OKLaboklab(93.57% -0.0194 0.1103)
OKLCHoklch(93.57% 0.112 100)
XYZxyz(74.9691, 82.5778, 39.1785)
Luminance0.8257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC92 #92A1FB
analogous
#FBB892 #FBEC92 #D5FB92
triadic
#FBEC92 #92FBEC #EC92FB
tetradic
#FBEC92 #92FBB8 #92A1FB #FB92D5
square
#FBEC92 #92FBB8 #92A1FB #FB92D5
split-complementary
#FBEC92 #92D5FB #B892FB
monochromatic
#F7D71C #F9E257 #FBEC92 #FDF6CD #FEFAE1

Accessibility & contrast

On white

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

On black

17.52
#FBEC92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC92
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC92#FFFFFF#000000##000000
##FBEC921.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbec92;
/* rgb */ color: rgb(251, 236, 146);
/* oklch */ color: oklch(93.6% 0.112 100.0);
Tailwind
colors: {
  custom: {
    50: '#fef2b3',
    500: '#fbec92',
    950: '#000000',
  },
}
SCSS
$custom: #fbec92;
$custom-light: #fef2b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec92",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 146
  },
  "hsl": {
    "h": 51.429,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93572,
    "c": 0.11196,
    "h": 100
  },
  "luminance": 0.82575
}

Semantic roles & 50–950 ramp

primary
#FBEC92
secondary
#5669DB
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FBEC92

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

Preview Lab → · Contrast checker → · Palette generator →

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