#FBEC78#FBEC78

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

Color values

HEX#FBEC78
RGBrgb(251, 236, 120)
HSLhsl(53, 94%, 73%)
HSVhsv(53, 52%, 98%)
CMYKcmyk(0%, 6%, 52.2%, 1.6%)
CIE-LABlab(92.51, -9.47, 57.37)
CIE-LCHlch(92.51, 58.14, 99.38°)
OKLaboklab(93.22% -0.0287 0.1349)
OKLCHoklch(93.22% 0.138 102)
XYZxyz(73.1715, 81.8588, 29.7116)
Luminance0.8186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC78 #7887FB
analogous
#FBAB78 #FBEC78 #C8FB78
triadic
#FBEC78 #78FBEC #EC78FB
tetradic
#FBEC78 #78FBAB #7887FB #FB78C8
square
#FBEC78 #78FBAB #7887FB #FB78C8
split-complementary
#FBEC78 #78C8FB #AB78FB
monochromatic
#F1D707 #F9E43D #FBEC78 #FDF4B3 #FEFBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBEC78#FFFFFF#000000##000000
##FBEC781.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)
#FEE66D
Deuteranopia (green-blind)
#FFED7D
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fbec78;
/* rgb */ color: rgb(251, 236, 120);
/* oklch */ color: oklch(93.2% 0.138 102.0);
Tailwind
colors: {
  custom: {
    50: '#fff1a2',
    500: '#fbec78',
    950: '#000000',
  },
}
SCSS
$custom: #fbec78;
$custom-light: #fff1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec78",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 120
  },
  "hsl": {
    "h": 53.13,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93219,
    "c": 0.13796,
    "h": 102
  },
  "luminance": 0.81856
}

Semantic roles & 50–950 ramp

primary
#FBEC78
secondary
#3F51D8
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEC78

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

Preview Lab → · Contrast checker → · Palette generator →

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