#FBEC89#FBEC89

#FBEC89 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.4% C 0.121 H 100.8°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#FBEC89
RGBrgb(251, 236, 137)
HSLhsl(52, 93%, 76%)
HSVhsv(52, 45%, 98%)
CMYKcmyk(0%, 6%, 45.4%, 1.6%)
CIE-LABlab(92.71, -7.99, 49.60)
CIE-LCHlch(92.71, 50.24, 99.15°)
OKLaboklab(93.44% -0.0227 0.1192)
OKLCHoklch(93.44% 0.121 100.8)
XYZxyz(74.2963, 82.3087, 35.6356)
Luminance0.8231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC89 #8998FB
analogous
#FBB389 #FBEC89 #D1FB89
triadic
#FBEC89 #89FBEC #EC89FB
tetradic
#FBEC89 #89FBB3 #8998FB #FB89D1
square
#FBEC89 #89FBB3 #8998FB #FB89D1
split-complementary
#FBEC89 #89D1FB #B389FB
monochromatic
#F7D913 #F9E24E #FBEC89 #FDF6C4 #FEFAE1

Accessibility & contrast

On white

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

On black

17.46
#FBEC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC89
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC89#FFFFFF#000000##000000
##FBEC891.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE681
Deuteranopia (green-blind)
#FFED8D
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fbec89;
/* rgb */ color: rgb(251, 236, 137);
/* oklch */ color: oklch(93.4% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#fef2ad',
    500: '#fbec89',
    950: '#000000',
  },
}
SCSS
$custom: #fbec89;
$custom-light: #fef2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec89",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 137
  },
  "hsl": {
    "h": 52.105,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9344,
    "c": 0.12136,
    "h": 100.8
  },
  "luminance": 0.82306
}

Semantic roles & 50–950 ramp

primary
#FBEC89
secondary
#4E61DA
accent
#1EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FBEC89

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

Preview Lab → · Contrast checker → · Palette generator →

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