#FBF08D#FBF08D

#FBF08D is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.3% C 0.121 H 102.9°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#FBF08D
RGBrgb(251, 240, 141)
HSLhsl(54, 93%, 77%)
HSVhsv(54, 44%, 98%)
CMYKcmyk(0%, 4.4%, 43.8%, 1.6%)
CIE-LABlab(93.78, -9.60, 49.00)
CIE-LCHlch(93.78, 49.93, 101.08°)
OKLaboklab(94.3% -0.027 0.1181)
OKLCHoklch(94.3% 0.121 102.9)
XYZxyz(75.7532, 84.7547, 37.5630)
Luminance0.8475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF08D #8D98FB
analogous
#FBB98D #FBF08D #CFFB8D
triadic
#FBF08D #8DFBF0 #F08DFB
tetradic
#FBF08D #8DFBB9 #8D98FB #FB8DCF
square
#FBF08D #8DFBB9 #8D98FB #FB8DCF
split-complementary
#FBF08D #8DCFFB #B98DFB
monochromatic
#F7E017 #F9E852 #FBF08D #FDF8C8 #FEFBE1

Accessibility & contrast

On white

1.17
#FBF08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#FBF08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF08D
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF08D#FFFFFF#000000##000000
##FBF08D1.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA85
Deuteranopia (green-blind)
#FFF091
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf08d;
/* rgb */ color: rgb(251, 240, 141);
/* oklch */ color: oklch(94.3% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#fef4b0',
    500: '#fbf08d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf08d;
$custom-light: #fef4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf08d",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 141
  },
  "hsl": {
    "h": 54,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94302,
    "c": 0.12116,
    "h": 102.9
  },
  "luminance": 0.84752
}

Semantic roles & 50–950 ramp

primary
#FBF08D
secondary
#525FDB
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FBF08D

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

Preview Lab → · Contrast checker → · Palette generator →

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