#FBE56A#FBE56A

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

Color values

HEX#FBE56A
RGBrgb(251, 229, 106)
HSLhsl(51, 95%, 70%)
HSVhsv(51, 58%, 98%)
CMYKcmyk(0%, 8.8%, 57.8%, 1.6%)
CIE-LABlab(90.59, -7.05, 61.48)
CIE-LCHlch(90.59, 61.88, 96.54°)
OKLaboklab(91.65% -0.0232 0.1423)
OKLCHoklch(91.65% 0.144 99.3)
XYZxyz(70.4072, 77.5914, 24.9008)
Luminance0.7759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE56A #6A80FB
analogous
#FB9D6A #FBE56A #C8FB6A
triadic
#FBE56A #6AFBE5 #E56AFB
tetradic
#FBE56A #6AFB9D #6A80FB #FB6AC8
square
#FBE56A #6AFB9D #6A80FB #FB6AC8
split-complementary
#FBE56A #6AC8FB #9D6AFB
monochromatic
#E4C306 #F9DB2E #FBE56A #FDEFA6 #FEFAE1

Accessibility & contrast

On white

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

On black

16.52
#FBE56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE56A
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE56A#FFFFFF#000000##000000
##FBE56A1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbe56a;
/* rgb */ color: rgb(251, 229, 106);
/* oklch */ color: oklch(91.7% 0.144 99.3);
Tailwind
colors: {
  custom: {
    50: '#ffec98',
    500: '#fbe56a',
    950: '#000000',
  },
}
SCSS
$custom: #fbe56a;
$custom-light: #ffec98;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe56a",
  "rgb": {
    "r": 251,
    "g": 229,
    "b": 106
  },
  "hsl": {
    "h": 50.897,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.91651,
    "c": 0.1442,
    "h": 99.3
  },
  "luminance": 0.77588
}

Semantic roles & 50–950 ramp

primary
#FBE56A
secondary
#334CD6
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE56A

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

Preview Lab → · Contrast checker → · Palette generator →

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