#FBEC94#FBEC94

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

Color values

HEX#FBEC94
RGBrgb(251, 236, 148)
HSLhsl(51, 93%, 78%)
HSVhsv(51, 41%, 98%)
CMYKcmyk(0%, 6%, 41%, 1.6%)
CIE-LABlab(92.86, -6.91, 44.44)
CIE-LCHlch(92.86, 44.97, 98.84°)
OKLaboklab(93.6% -0.0187 0.1082)
OKLCHoklch(93.6% 0.11 99.8)
XYZxyz(75.1260, 82.6405, 40.0051)
Luminance0.8264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC94 #94A3FB
analogous
#FBB894 #FBEC94 #D6FB94
triadic
#FBEC94 #94FBEC #EC94FB
tetradic
#FBEC94 #94FBB8 #94A3FB #FB94D6
square
#FBEC94 #94FBB8 #94A3FB #FB94D6
split-complementary
#FBEC94 #94D6FB #B894FB
monochromatic
#F7D71E #F9E259 #FBEC94 #FDF6CF #FEFAE2

Accessibility & contrast

On white

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

On black

17.53
#FBEC94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC94
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC94#FFFFFF#000000##000000
##FBEC941.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbec94;
/* rgb */ color: rgb(251, 236, 148);
/* oklch */ color: oklch(93.6% 0.110 99.8);
Tailwind
colors: {
  custom: {
    50: '#fef2b4',
    500: '#fbec94',
    950: '#000000',
  },
}
SCSS
$custom: #fbec94;
$custom-light: #fef2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec94",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 148
  },
  "hsl": {
    "h": 51.262,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93603,
    "c": 0.10982,
    "h": 99.8
  },
  "luminance": 0.82638
}

Semantic roles & 50–950 ramp

primary
#FBEC94
secondary
#586BDB
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FBEC94

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

Preview Lab → · Contrast checker → · Palette generator →

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