#FBE56C#FBE56C

#FBE56C is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.7% C 0.142 H 99.1°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#FBE56C
RGBrgb(251, 229, 108)
HSLhsl(51, 95%, 70%)
HSVhsv(51, 57%, 98%)
CMYKcmyk(0%, 8.8%, 57%, 1.6%)
CIE-LABlab(90.61, -6.90, 60.61)
CIE-LCHlch(90.61, 61.00, 96.50°)
OKLaboklab(91.67% -0.0226 0.1407)
OKLCHoklch(91.67% 0.143 99.1)
XYZxyz(70.5124, 77.6335, 25.4550)
Luminance0.7763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE56C #6C82FB
analogous
#FB9D6C #FBE56C #CAFB6C
triadic
#FBE56C #6CFBE5 #E56CFB
tetradic
#FBE56C #6CFB9D #6C82FB #FB6CCA
square
#FBE56C #6CFB9D #6C82FB #FB6CCA
split-complementary
#FBE56C #6CCAFB #9D6CFB
monochromatic
#E6C406 #F9DA30 #FBE56C #FDF0A8 #FEFAE1

Accessibility & contrast

On white

1.27
#FBE56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#FBE56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE56C
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE56C#FFFFFF#000000##000000
##FBE56C1.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF60
Deuteranopia (green-blind)
#FEE872
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fbe56c;
/* rgb */ color: rgb(251, 229, 108);
/* oklch */ color: oklch(91.7% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#ffec9a',
    500: '#fbe56c',
    950: '#000000',
  },
}
SCSS
$custom: #fbe56c;
$custom-light: #ffec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe56c",
  "rgb": {
    "r": 251,
    "g": 229,
    "b": 108
  },
  "hsl": {
    "h": 50.769,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91672,
    "c": 0.1425,
    "h": 99.1
  },
  "luminance": 0.77631
}

Semantic roles & 50–950 ramp

primary
#FBE56C
secondary
#354ED6
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE56C

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

Preview Lab → · Contrast checker → · Palette generator →

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