#FBF57E#FBF57E

#FBF57E is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.1% C 0.141 H 106.2°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#FBF57E
RGBrgb(251, 245, 126)
HSLhsl(57, 94%, 74%)
HSVhsv(57, 50%, 98%)
CMYKcmyk(0%, 2.4%, 49.8%, 1.6%)
CIE-LABlab(94.87, -13.41, 57.40)
CIE-LCHlch(94.87, 58.95, 103.15°)
OKLaboklab(95.12% -0.0394 0.1356)
OKLCHoklch(95.12% 0.141 106.2)
XYZxyz(76.2039, 87.3225, 32.5754)
Luminance0.8732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF57E #7E84FB
analogous
#FBB77E #FBF57E #C3FB7E
triadic
#FBF57E #7EFBF5 #F57EFB
tetradic
#FBF57E #7EFBB7 #7E84FB #FB7EC3
square
#FBF57E #7EFBB7 #7E84FB #FB7EC3
split-complementary
#FBF57E #7EC3FB #B77EFB
monochromatic
#F7EB08 #F9F043 #FBF57E #FDFAB9 #FEFDE1

Accessibility & contrast

On white

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

On black

18.46
#FBF57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF57E
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF57E#FFFFFF#000000##000000
##FBF57E1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED73
Deuteranopia (green-blind)
#FFF384
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf57e;
/* rgb */ color: rgb(251, 245, 126);
/* oklch */ color: oklch(95.1% 0.141 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff8a6',
    500: '#fbf57e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf57e;
$custom-light: #fff8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf57e",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 126
  },
  "hsl": {
    "h": 57.12,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95116,
    "c": 0.14115,
    "h": 106.2
  },
  "luminance": 0.8732
}

Semantic roles & 50–950 ramp

primary
#FBF57E
secondary
#454CD9
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF57E

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

Preview Lab → · Contrast checker → · Palette generator →

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