#FBE56F#FBE56F

#FBE56F is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.7% C 0.140 H 98.9°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#FBE56F
RGBrgb(251, 229, 111)
HSLhsl(51, 95%, 71%)
HSVhsv(51, 56%, 98%)
CMYKcmyk(0%, 8.8%, 55.8%, 1.6%)
CIE-LABlab(90.64, -6.68, 59.29)
CIE-LCHlch(90.64, 59.67, 96.43°)
OKLaboklab(91.71% -0.0216 0.1382)
OKLCHoklch(91.71% 0.14 98.9)
XYZxyz(70.6748, 77.6984, 26.3104)
Luminance0.7770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE56F #6F85FB
analogous
#FB9F6F #FBE56F #CBFB6F
triadic
#FBE56F #6FFBE5 #E56FFB
tetradic
#FBE56F #6FFB9F #6F85FB #FB6FCB
square
#FBE56F #6FFB9F #6F85FB #FB6FCB
split-complementary
#FBE56F #6FCBFB #9F6FFB
monochromatic
#E9C606 #F9DA33 #FBE56F #FDF0AB #FEFAE1

Accessibility & contrast

On white

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

On black

16.54
#FBE56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE56F
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE56F#FFFFFF#000000##000000
##FBE56F1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E063
Deuteranopia (green-blind)
#FEE874
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fbe56f;
/* rgb */ color: rgb(251, 229, 111);
/* oklch */ color: oklch(91.7% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#ffec9c',
    500: '#fbe56f',
    950: '#000000',
  },
}
SCSS
$custom: #fbe56f;
$custom-light: #ffec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe56f",
  "rgb": {
    "r": 251,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 50.571,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91705,
    "c": 0.13988,
    "h": 98.9
  },
  "luminance": 0.77696
}

Semantic roles & 50–950 ramp

primary
#FBE56F
secondary
#3851D6
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE56F

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

Preview Lab → · Contrast checker → · Palette generator →

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