#FBE772#FBE772

#FBE772 is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 92.1% C 0.139 H 99.8°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#FBE772
RGBrgb(251, 231, 114)
HSLhsl(51, 94%, 72%)
HSVhsv(51, 55%, 98%)
CMYKcmyk(0%, 8%, 54.6%, 1.6%)
CIE-LABlab(91.18, -7.46, 58.55)
CIE-LCHlch(91.18, 59.03, 97.26°)
OKLaboklab(92.14% -0.0235 0.1369)
OKLCHoklch(92.14% 0.139 99.8)
XYZxyz(71.3993, 78.8788, 27.3805)
Luminance0.7888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE772 #7286FB
analogous
#FBA372 #FBE772 #CBFB72
triadic
#FBE772 #72FBE7 #E772FB
tetradic
#FBE772 #72FBA3 #7286FB #FB72CB
square
#FBE772 #72FBA3 #7286FB #FB72CB
split-complementary
#FBE772 #72CBFB #A372FB
monochromatic
#ECCA07 #F9DD36 #FBE772 #FDF1AE #FEFAE1

Accessibility & contrast

On white

1.25
#FBE772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#FBE772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE772
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE772#FFFFFF#000000##000000
##FBE7721.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE167
Deuteranopia (green-blind)
#FFE977
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fbe772;
/* rgb */ color: rgb(251, 231, 114);
/* oklch */ color: oklch(92.1% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#ffee9e',
    500: '#fbe772',
    950: '#000000',
  },
}
SCSS
$custom: #fbe772;
$custom-light: #ffee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe772",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 51.241,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92141,
    "c": 0.13893,
    "h": 99.8
  },
  "luminance": 0.78876
}

Semantic roles & 50–950 ramp

primary
#FBE772
secondary
#3A51D7
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE772

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

Preview Lab → · Contrast checker → · Palette generator →

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