#FBF57F#FBF57F

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

Color values

HEX#FBF57F
RGBrgb(251, 245, 127)
HSLhsl(57, 94%, 74%)
HSVhsv(57, 49%, 98%)
CMYKcmyk(0%, 2.4%, 49.4%, 1.6%)
CIE-LABlab(94.89, -13.33, 56.95)
CIE-LCHlch(94.89, 58.49, 103.17°)
OKLaboklab(95.13% -0.039 0.1347)
OKLCHoklch(95.13% 0.14 106.2)
XYZxyz(76.2688, 87.3485, 32.9169)
Luminance0.8735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF57F #7F85FB
analogous
#FBB77F #FBF57F #C3FB7F
triadic
#FBF57F #7FFBF5 #F57FFB
tetradic
#FBF57F #7FFBB7 #7F85FB #FB7FC3
square
#FBF57F #7FFBB7 #7F85FB #FB7FC3
split-complementary
#FBF57F #7FC3FB #B77FFB
monochromatic
#F7EC08 #F9F044 #FBF57F #FDFABA #FEFDE1

Accessibility & contrast

On white

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

On black

18.47
#FBF57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF57F
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF57F#FFFFFF#000000##000000
##FBF57F1.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf57f;
/* rgb */ color: rgb(251, 245, 127);
/* oklch */ color: oklch(95.1% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff8a7',
    500: '#fbf57f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf57f;
$custom-light: #fff8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf57f",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 127
  },
  "hsl": {
    "h": 57.097,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95129,
    "c": 0.14021,
    "h": 106.2
  },
  "luminance": 0.87346
}

Semantic roles & 50–950 ramp

primary
#FBF57F
secondary
#464DD9
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF57F

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

Preview Lab → · Contrast checker → · Palette generator →

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