#FBF56D#FBF56D

#FBF56D is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.156 H 106.7°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#FBF56D
RGBrgb(251, 245, 109)
HSLhsl(57, 95%, 71%)
HSVhsv(57, 57%, 98%)
CMYKcmyk(0%, 2.4%, 56.6%, 1.6%)
CIE-LABlab(94.70, -14.73, 64.78)
CIE-LCHlch(94.70, 66.44, 102.81°)
OKLaboklab(94.93% -0.0449 0.1498)
OKLCHoklch(94.93% 0.156 106.7)
XYZxyz(75.1987, 86.9205, 27.2812)
Luminance0.8692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF56D #6D73FB
analogous
#FBAE6D #FBF56D #BAFB6D
triadic
#FBF56D #6DFBF5 #F56DFB
tetradic
#FBF56D #6DFBAE #6D73FB #FB6DBA
square
#FBF56D #6DFBAE #6D73FB #FB6DBA
split-complementary
#FBF56D #6DBAFB #AE6DFB
monochromatic
#E7DE06 #F9F131 #FBF56D #FDF9A9 #FEFDE1

Accessibility & contrast

On white

1.14
#FBF56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#FBF56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF56D
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF56D#FFFFFF#000000##000000
##FBF56D1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5F
Deuteranopia (green-blind)
#FFF274
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf56d;
/* rgb */ color: rgb(251, 245, 109);
/* oklch */ color: oklch(94.9% 0.156 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff89b',
    500: '#fbf56d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf56d;
$custom-light: #fff89b;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf56d",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 57.465,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94926,
    "c": 0.15633,
    "h": 106.7
  },
  "luminance": 0.86918
}

Semantic roles & 50–950 ramp

primary
#FBF56D
secondary
#363DD6
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF56D

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

Preview Lab → · Contrast checker → · Palette generator →

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