#FBE77C#FBE77C

#FBE77C is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.3% C 0.130 H 98.9°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#FBE77C
RGBrgb(251, 231, 124)
HSLhsl(51, 94%, 74%)
HSVhsv(51, 51%, 98%)
CMYKcmyk(0%, 8%, 50.6%, 1.6%)
CIE-LABlab(91.29, -6.66, 54.06)
CIE-LCHlch(91.29, 54.46, 97.02°)
OKLaboklab(92.26% -0.0202 0.1281)
OKLCHoklch(92.26% 0.13 98.9)
XYZxyz(71.9999, 79.1190, 30.5438)
Luminance0.7912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE77C #7C90FB
analogous
#FBA77C #FBE77C #CFFB7C
triadic
#FBE77C #7CFBE7 #E77CFB
tetradic
#FBE77C #7CFBA7 #7C90FB #FB7CCF
square
#FBE77C #7CFBA7 #7C90FB #FB7CCF
split-complementary
#FBE77C #7CCFFB #A77CFB
monochromatic
#F5D007 #F9DC41 #FBE77C #FDF2B7 #FEFAE1

Accessibility & contrast

On white

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

On black

16.82
#FBE77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE77C
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE77C#FFFFFF#000000##000000
##FBE77C1.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbe77c;
/* rgb */ color: rgb(251, 231, 124);
/* oklch */ color: oklch(92.3% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#ffeea4',
    500: '#fbe77c',
    950: '#000000',
  },
}
SCSS
$custom: #fbe77c;
$custom-light: #ffeea4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe77c",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 124
  },
  "hsl": {
    "h": 50.551,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92262,
    "c": 0.12965,
    "h": 98.9
  },
  "luminance": 0.79116
}

Semantic roles & 50–950 ramp

primary
#FBE77C
secondary
#435AD8
accent
#24E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE77C

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

Preview Lab → · Contrast checker → · Palette generator →

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