#FBF88E#FBF88E

#FBF88E is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.9% C 0.129 H 107.2°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FBF88E
RGBrgb(251, 248, 142)
HSLhsl(58, 93%, 77%)
HSVhsv(58, 43%, 98%)
CMYKcmyk(0%, 1.2%, 43.4%, 1.6%)
CIE-LABlab(95.83, -13.44, 51.07)
CIE-LCHlch(95.83, 52.81, 104.74°)
OKLaboklab(95.94% -0.0379 0.1228)
OKLCHoklch(95.94% 0.129 107.2)
XYZxyz(78.2351, 89.5989, 38.7590)
Luminance0.8960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF88E #8E91FB
analogous
#FBC28E #FBF88E #C7FB8E
triadic
#FBF88E #8EFBF8 #F88EFB
tetradic
#FBF88E #8EFBC2 #8E91FB #FB8EC7
square
#FBF88E #8EFBC2 #8E91FB #FB8EC7
split-complementary
#FBF88E #8EC7FB #C28EFB
monochromatic
#F7F118 #F9F453 #FBF88E #FDFCC9 #FEFDE1

Accessibility & contrast

On white

1.11
#FBF88E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.92
#FBF88E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF88E
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF88E#FFFFFF#000000##000000
##FBF88E1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF085
Deuteranopia (green-blind)
#FFF593
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf88e;
/* rgb */ color: rgb(251, 248, 142);
/* oklch */ color: oklch(95.9% 0.129 107.2);
Tailwind
colors: {
  custom: {
    50: '#fefab1',
    500: '#fbf88e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf88e;
$custom-light: #fefab1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf88e",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 142
  },
  "hsl": {
    "h": 58.349,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95937,
    "c": 0.12852,
    "h": 107.2
  },
  "luminance": 0.89597
}

Semantic roles & 50–950 ramp

primary
#FBF88E
secondary
#5356DB
accent
#06E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF88E

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

Preview Lab → · Contrast checker → · Palette generator →

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