#FBEC8A#FBEC8A

#FBEC8A is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.5% C 0.120 H 100.7°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#FBEC8A
RGBrgb(251, 236, 138)
HSLhsl(52, 93%, 76%)
HSVhsv(52, 45%, 98%)
CMYKcmyk(0%, 6%, 45%, 1.6%)
CIE-LABlab(92.72, -7.90, 49.14)
CIE-LCHlch(92.72, 49.77, 99.13°)
OKLaboklab(93.45% -0.0224 0.1182)
OKLCHoklch(93.45% 0.12 100.7)
XYZxyz(74.3684, 82.3375, 36.0151)
Luminance0.8234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC8A #8A99FB
analogous
#FBB48A #FBEC8A #D2FB8A
triadic
#FBEC8A #8AFBEC #EC8AFB
tetradic
#FBEC8A #8AFBB4 #8A99FB #FB8AD2
square
#FBEC8A #8AFBB4 #8A99FB #FB8AD2
split-complementary
#FBEC8A #8AD2FB #B48AFB
monochromatic
#F7D914 #F9E24F #FBEC8A #FDF6C5 #FEFAE1

Accessibility & contrast

On white

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

On black

17.47
#FBEC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC8A
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC8A#FFFFFF#000000##000000
##FBEC8A1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbec8a;
/* rgb */ color: rgb(251, 236, 138);
/* oklch */ color: oklch(93.5% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#fef2ae',
    500: '#fbec8a',
    950: '#000000',
  },
}
SCSS
$custom: #fbec8a;
$custom-light: #fef2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec8a",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 52.035,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93454,
    "c": 0.12034,
    "h": 100.7
  },
  "luminance": 0.82335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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