#FBF57B#FBF57B

#FBF57B is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.1% C 0.144 H 106.3°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#FBF57B
RGBrgb(251, 245, 123)
HSLhsl(57, 94%, 73%)
HSVhsv(57, 51%, 98%)
CMYKcmyk(0%, 2.4%, 51%, 1.6%)
CIE-LABlab(94.84, -13.66, 58.73)
CIE-LCHlch(94.84, 60.30, 103.09°)
OKLaboklab(95.08% -0.0404 0.1382)
OKLCHoklch(95.08% 0.144 106.3)
XYZxyz(76.0132, 87.2463, 31.5711)
Luminance0.8724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF57B #7B81FB
analogous
#FBB57B #FBF57B #C1FB7B
triadic
#FBF57B #7BFBF5 #F57BFB
tetradic
#FBF57B #7BFBB5 #7B81FB #FB7BC1
square
#FBF57B #7BFBB5 #7B81FB #FB7BC1
split-complementary
#FBF57B #7BC1FB #B57BFB
monochromatic
#F4E907 #F9F140 #FBF57B #FDFAB6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.45
#FBF57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF57B
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF57B#FFFFFF#000000##000000
##FBF57B1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED70
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf57b;
/* rgb */ color: rgb(251, 245, 123);
/* oklch */ color: oklch(95.1% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff8a4',
    500: '#fbf57b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf57b;
$custom-light: #fff8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf57b",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 57.188,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9508,
    "c": 0.14397,
    "h": 106.3
  },
  "luminance": 0.87244
}

Semantic roles & 50–950 ramp

primary
#FBF57B
secondary
#4249D8
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF57B

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

Preview Lab → · Contrast checker → · Palette generator →

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