#FBF87E#FBF87E

#FBF87E is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.7% C 0.144 H 107.6°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#FBF87E
RGBrgb(251, 248, 126)
HSLhsl(59, 94%, 74%)
HSVhsv(59, 50%, 98%)
CMYKcmyk(0%, 1.2%, 49.8%, 1.6%)
CIE-LABlab(95.64, -14.88, 58.31)
CIE-LCHlch(95.64, 60.18, 104.31°)
OKLaboklab(95.73% -0.0435 0.1375)
OKLCHoklch(95.73% 0.144 107.6)
XYZxyz(77.1189, 89.1524, 32.8803)
Luminance0.8915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF87E #7E81FB
analogous
#FBBA7E #FBF87E #C0FB7E
triadic
#FBF87E #7EFBF8 #F87EFB
tetradic
#FBF87E #7EFBBA #7E81FB #FB7EC0
square
#FBF87E #7EFBBA #7E81FB #FB7EC0
split-complementary
#FBF87E #7EC0FB #BA7EFB
monochromatic
#F7F108 #F9F543 #FBF87E #FDFBB9 #FEFDE1

Accessibility & contrast

On white

1.12
#FBF87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#FBF87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF87E
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF87E#FFFFFF#000000##000000
##FBF87E1.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF073
Deuteranopia (green-blind)
#FFF584
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf87e;
/* rgb */ color: rgb(251, 248, 126);
/* oklch */ color: oklch(95.7% 0.144 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffaa6',
    500: '#fbf87e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf87e;
$custom-light: #fffaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf87e",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 58.56,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95728,
    "c": 0.14427,
    "h": 107.6
  },
  "luminance": 0.8915
}

Semantic roles & 50–950 ramp

primary
#FBF87E
secondary
#4548D9
accent
#06E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF87E

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

Preview Lab → · Contrast checker → · Palette generator →

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