#FBEC71#FBEC71

#FBEC71 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.144 H 102.4°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#FBEC71
RGBrgb(251, 236, 113)
HSLhsl(53, 95%, 71%)
HSVhsv(53, 55%, 98%)
CMYKcmyk(0%, 6%, 55%, 1.6%)
CIE-LABlab(92.44, -10.02, 60.46)
CIE-LCHlch(92.44, 61.28, 99.41°)
OKLaboklab(93.14% -0.031 0.1409)
OKLCHoklch(93.14% 0.144 102.4)
XYZxyz(72.7622, 81.6950, 27.5555)
Luminance0.8169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC71 #7180FB
analogous
#FBA771 #FBEC71 #C5FB71
triadic
#FBEC71 #71FBEC #EC71FB
tetradic
#FBEC71 #71FBA7 #7180FB #FB71C5
square
#FBEC71 #71FBA7 #7180FB #FB71C5
split-complementary
#FBEC71 #71C5FB #A771FB
monochromatic
#EBD207 #F9E435 #FBEC71 #FDF4AD #FEFBE1

Accessibility & contrast

On white

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

On black

17.34
#FBEC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC71
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC71#FFFFFF#000000##000000
##FBEC711.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbec71;
/* rgb */ color: rgb(251, 236, 113);
/* oklch */ color: oklch(93.1% 0.144 102.4);
Tailwind
colors: {
  custom: {
    50: '#fff19d',
    500: '#fbec71',
    950: '#000000',
  },
}
SCSS
$custom: #fbec71;
$custom-light: #fff19d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec71",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 53.478,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93138,
    "c": 0.14429,
    "h": 102.4
  },
  "luminance": 0.81692
}

Semantic roles & 50–950 ramp

primary
#FBEC71
secondary
#394BD7
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEC71

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

Preview Lab → · Contrast checker → · Palette generator →

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