#FBF57D#FBF57D

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

Color values

HEX#FBF57D
RGBrgb(251, 245, 125)
HSLhsl(57, 94%, 74%)
HSVhsv(57, 50%, 98%)
CMYKcmyk(0%, 2.4%, 50.2%, 1.6%)
CIE-LABlab(94.86, -13.50, 57.85)
CIE-LCHlch(94.86, 59.40, 103.13°)
OKLaboklab(95.1% -0.0397 0.1364)
OKLCHoklch(95.1% 0.142 106.2)
XYZxyz(76.1397, 87.2969, 32.2372)
Luminance0.8730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF57D #7D83FB
analogous
#FBB67D #FBF57D #C2FB7D
triadic
#FBF57D #7DFBF5 #F57DFB
tetradic
#FBF57D #7DFBB6 #7D83FB #FB7DC2
square
#FBF57D #7DFBB6 #7D83FB #FB7DC2
split-complementary
#FBF57D #7DC2FB #B67DFB
monochromatic
#F6EB08 #F9F042 #FBF57D #FDFAB8 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF57D#FFFFFF#000000##000000
##FBF57D1.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)
#FFED72
Deuteranopia (green-blind)
#FFF383
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf57d;
/* rgb */ color: rgb(251, 245, 125);
/* oklch */ color: oklch(95.1% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff8a5',
    500: '#fbf57d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf57d;
$custom-light: #fff8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf57d",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 57.143,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95104,
    "c": 0.1421,
    "h": 106.2
  },
  "luminance": 0.87295
}

Semantic roles & 50–950 ramp

primary
#FBF57D
secondary
#444BD8
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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