#FBEC77#FBEC77

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

Color values

HEX#FBEC77
RGBrgb(251, 236, 119)
HSLhsl(53, 94%, 73%)
HSVhsv(53, 53%, 98%)
CMYKcmyk(0%, 6%, 52.6%, 1.6%)
CIE-LABlab(92.50, -9.55, 57.81)
CIE-LCHlch(92.50, 58.60, 99.38°)
OKLaboklab(93.21% -0.029 0.1358)
OKLCHoklch(93.21% 0.139 102.1)
XYZxyz(73.1112, 81.8346, 29.3937)
Luminance0.8183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC77 #7786FB
analogous
#FBAA77 #FBEC77 #C8FB77
triadic
#FBEC77 #77FBEC #EC77FB
tetradic
#FBEC77 #77FBAA #7786FB #FB77C8
square
#FBEC77 #77FBAA #7786FB #FB77C8
split-complementary
#FBEC77 #77C8FB #AA77FB
monochromatic
#F1D607 #F9E43C #FBEC77 #FDF4B2 #FEFBE1

Accessibility & contrast

On white

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

On black

17.37
#FBEC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC77
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC77#FFFFFF#000000##000000
##FBEC771.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbec77;
/* rgb */ color: rgb(251, 236, 119);
/* oklch */ color: oklch(93.2% 0.139 102.1);
Tailwind
colors: {
  custom: {
    50: '#fff1a1',
    500: '#fbec77',
    950: '#000000',
  },
}
SCSS
$custom: #fbec77;
$custom-light: #fff1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec77",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 119
  },
  "hsl": {
    "h": 53.182,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93207,
    "c": 0.13888,
    "h": 102.1
  },
  "luminance": 0.81832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEC77

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

Preview Lab → · Contrast checker → · Palette generator →

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