#FBF288#FBF288

#FBF288 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.128 H 104.3°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FBF288
RGBrgb(251, 242, 136)
HSLhsl(55, 93%, 76%)
HSVhsv(55, 46%, 98%)
CMYKcmyk(0%, 3.6%, 45.8%, 1.6%)
CIE-LABlab(94.22, -11.06, 51.94)
CIE-LCHlch(94.22, 53.11, 102.02°)
OKLaboklab(94.64% -0.0316 0.1244)
OKLCHoklch(94.64% 0.128 104.3)
XYZxyz(75.9815, 85.7932, 35.8451)
Luminance0.8579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF288 #8891FB
analogous
#FBB888 #FBF288 #CAFB88
triadic
#FBF288 #88FBF2 #F288FB
tetradic
#FBF288 #88FBB8 #8891FB #FB88CA
square
#FBF288 #88FBB8 #8891FB #FB88CA
split-complementary
#FBF288 #88CAFB #B888FB
monochromatic
#F7E512 #F9EC4D #FBF288 #FDF8C3 #FEFCE1

Accessibility & contrast

On white

1.16
#FBF288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#FBF288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF288
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF288#FFFFFF#000000##000000
##FBF2881.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7F
Deuteranopia (green-blind)
#FFF18D
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf288;
/* rgb */ color: rgb(251, 242, 136);
/* oklch */ color: oklch(94.6% 0.128 104.3);
Tailwind
colors: {
  custom: {
    50: '#fef6ac',
    500: '#fbf288',
    950: '#000000',
  },
}
SCSS
$custom: #fbf288;
$custom-light: #fef6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf288",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 55.304,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.94636,
    "c": 0.12831,
    "h": 104.3
  },
  "luminance": 0.85791
}

Semantic roles & 50–950 ramp

primary
#FBF288
secondary
#4D58DA
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF288

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

Preview Lab → · Contrast checker → · Palette generator →

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