#FBEC76#FBEC76

#FBEC76 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.2% C 0.140 H 102.1°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#FBEC76
RGBrgb(251, 236, 118)
HSLhsl(53, 94%, 72%)
HSVhsv(53, 53%, 98%)
CMYKcmyk(0%, 6%, 53%, 1.6%)
CIE-LABlab(92.49, -9.63, 58.26)
CIE-LCHlch(92.49, 59.05, 99.39°)
OKLaboklab(93.2% -0.0294 0.1367)
OKLCHoklch(93.2% 0.14 102.1)
XYZxyz(73.0514, 81.8107, 29.0790)
Luminance0.8181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC76 #7685FB
analogous
#FBAA76 #FBEC76 #C8FB76
triadic
#FBEC76 #76FBEC #EC76FB
tetradic
#FBEC76 #76FBAA #7685FB #FB76C8
square
#FBEC76 #76FBAA #7685FB #FB76C8
split-complementary
#FBEC76 #76C8FB #AA76FB
monochromatic
#F0D507 #F9E43B #FBEC76 #FDF4B1 #FEFBE1

Accessibility & contrast

On white

1.21
#FBEC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#FBEC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC76
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC76#FFFFFF#000000##000000
##FBEC761.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66B
Deuteranopia (green-blind)
#FFED7C
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fbec76;
/* rgb */ color: rgb(251, 236, 118);
/* oklch */ color: oklch(93.2% 0.140 102.1);
Tailwind
colors: {
  custom: {
    50: '#fff1a0',
    500: '#fbec76',
    950: '#000000',
  },
}
SCSS
$custom: #fbec76;
$custom-light: #fff1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec76",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 118
  },
  "hsl": {
    "h": 53.233,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93195,
    "c": 0.1398,
    "h": 102.1
  },
  "luminance": 0.81808
}

Semantic roles & 50–950 ramp

primary
#FBEC76
secondary
#3E4FD7
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEC76

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

Preview Lab → · Contrast checker → · Palette generator →

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