#FBF57A#FBF57A

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

Color values

HEX#FBF57A
RGBrgb(251, 245, 122)
HSLhsl(57, 94%, 73%)
HSVhsv(57, 51%, 98%)
CMYKcmyk(0%, 2.4%, 51.4%, 1.6%)
CIE-LABlab(94.83, -13.74, 59.17)
CIE-LCHlch(94.83, 60.75, 103.07°)
OKLaboklab(95.07% -0.0407 0.1391)
OKLCHoklch(95.07% 0.145 106.3)
XYZxyz(75.9510, 87.2214, 31.2431)
Luminance0.8722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF57A #7A80FB
analogous
#FBB47A #FBF57A #C1FB7A
triadic
#FBF57A #7AFBF5 #F57AFB
tetradic
#FBF57A #7AFBB4 #7A80FB #FB7AC1
square
#FBF57A #7AFBB4 #7A80FB #FB7AC1
split-complementary
#FBF57A #7AC1FB #B47AFB
monochromatic
#F3E807 #F9F13F #FBF57A #FDF9B5 #FEFDE1

Accessibility & contrast

On white

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

On black

18.44
#FBF57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF57A
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF57A#FFFFFF#000000##000000
##FBF57A1.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf57a;
/* rgb */ color: rgb(251, 245, 122);
/* oklch */ color: oklch(95.1% 0.145 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff8a3',
    500: '#fbf57a',
    950: '#000000',
  },
}
SCSS
$custom: #fbf57a;
$custom-light: #fff8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf57a",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 57.209,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95069,
    "c": 0.14489,
    "h": 106.3
  },
  "luminance": 0.87219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF57A

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

Preview Lab → · Contrast checker → · Palette generator →

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