#FBEC73#FBEC73

#FBEC73 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.2% C 0.143 H 102.3°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#FBEC73
RGBrgb(251, 236, 115)
HSLhsl(53, 94%, 72%)
HSVhsv(53, 54%, 98%)
CMYKcmyk(0%, 6%, 54.2%, 1.6%)
CIE-LABlab(92.46, -9.87, 59.58)
CIE-LCHlch(92.46, 60.39, 99.40°)
OKLaboklab(93.16% -0.0303 0.1392)
OKLCHoklch(93.16% 0.143 102.3)
XYZxyz(72.8760, 81.7405, 28.1550)
Luminance0.8174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC73 #7382FB
analogous
#FBA873 #FBEC73 #C6FB73
triadic
#FBEC73 #73FBEC #EC73FB
tetradic
#FBEC73 #73FBA8 #7382FB #FB73C6
square
#FBEC73 #73FBA8 #7382FB #FB73C6
split-complementary
#FBEC73 #73C6FB #A873FB
monochromatic
#EDD307 #F9E438 #FBEC73 #FDF4AF #FEFBE1

Accessibility & contrast

On white

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

On black

17.35
#FBEC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC73
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC73#FFFFFF#000000##000000
##FBEC731.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbec73;
/* rgb */ color: rgb(251, 236, 115);
/* oklch */ color: oklch(93.2% 0.143 102.3);
Tailwind
colors: {
  custom: {
    50: '#fff19f',
    500: '#fbec73',
    950: '#000000',
  },
}
SCSS
$custom: #fbec73;
$custom-light: #fff19f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec73",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 115
  },
  "hsl": {
    "h": 53.382,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.9316,
    "c": 0.14251,
    "h": 102.3
  },
  "luminance": 0.81738
}

Semantic roles & 50–950 ramp

primary
#FBEC73
secondary
#3B4CD7
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEC73

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

Preview Lab → · Contrast checker → · Palette generator →

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