#FBE873#FBE873

#FBE873 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.4% C 0.139 H 100.2°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#FBE873
RGBrgb(251, 232, 115)
HSLhsl(52, 94%, 72%)
HSVhsv(52, 54%, 98%)
CMYKcmyk(0%, 7.6%, 54.2%, 1.6%)
CIE-LABlab(91.44, -7.88, 58.40)
CIE-LCHlch(91.44, 58.93, 97.68°)
OKLaboklab(92.35% -0.0246 0.1367)
OKLCHoklch(92.35% 0.139 100.2)
XYZxyz(71.7372, 79.4630, 27.7755)
Luminance0.7946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE873 #7386FB
analogous
#FBA473 #FBE873 #CAFB73
triadic
#FBE873 #73FBE8 #E873FB
tetradic
#FBE873 #73FBA4 #7386FB #FB73CA
square
#FBE873 #73FBA4 #7386FB #FB73CA
split-complementary
#FBE873 #73CAFB #A473FB
monochromatic
#EDCD07 #F9DE38 #FBE873 #FDF2AF #FEFAE1

Accessibility & contrast

On white

1.24
#FBE873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#FBE873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE873
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE873#FFFFFF#000000##000000
##FBE8731.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE268
Deuteranopia (green-blind)
#FFEA78
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fbe873;
/* rgb */ color: rgb(251, 232, 115);
/* oklch */ color: oklch(92.4% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#ffef9e',
    500: '#fbe873',
    950: '#000000',
  },
}
SCSS
$custom: #fbe873;
$custom-light: #ffef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe873",
  "rgb": {
    "r": 251,
    "g": 232,
    "b": 115
  },
  "hsl": {
    "h": 51.618,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92354,
    "c": 0.1389,
    "h": 100.2
  },
  "luminance": 0.7946
}

Semantic roles & 50–950 ramp

primary
#FBE873
secondary
#3B51D7
accent
#20E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE873

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

Preview Lab → · Contrast checker → · Palette generator →

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