#FBE56D#FBE56D

#FBE56D is a very light, vivid yellow. Relative luminance 0.777; 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#FBE56D
RGBrgb(251, 229, 109)
HSLhsl(51, 95%, 71%)
HSVhsv(51, 57%, 98%)
CMYKcmyk(0%, 8.8%, 56.6%, 1.6%)
CIE-LABlab(90.62, -6.83, 60.17)
CIE-LCHlch(90.62, 60.56, 96.48°)
OKLaboklab(91.68% -0.0223 0.1399)
OKLCHoklch(91.68% 0.142 99.1)
XYZxyz(70.5659, 77.6549, 25.7369)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE56D #6D83FB
analogous
#FB9E6D #FBE56D #CAFB6D
triadic
#FBE56D #6DFBE5 #E56DFB
tetradic
#FBE56D #6DFB9E #6D83FB #FB6DCA
square
#FBE56D #6DFB9E #6D83FB #FB6DCA
split-complementary
#FBE56D #6DCAFB #9E6DFB
monochromatic
#E7C406 #F9DA31 #FBE56D #FDF0A9 #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBE56D#FFFFFF#000000##000000
##FBE56D1.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)
#F8E061
Deuteranopia (green-blind)
#FEE873
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fbe56d;
/* rgb */ color: rgb(251, 229, 109);
/* oklch */ color: oklch(91.7% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#ffec9a',
    500: '#fbe56d',
    950: '#000000',
  },
}
SCSS
$custom: #fbe56d;
$custom-light: #ffec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe56d",
  "rgb": {
    "r": 251,
    "g": 229,
    "b": 109
  },
  "hsl": {
    "h": 50.704,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91683,
    "c": 0.14163,
    "h": 99.1
  },
  "luminance": 0.77652
}

Semantic roles & 50–950 ramp

primary
#FBE56D
secondary
#364FD6
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE56D

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

Preview Lab → · Contrast checker → · Palette generator →

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