#FBF285#FBF285

#FBF285 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.6% C 0.131 H 104.4°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#FBF285
RGBrgb(251, 242, 133)
HSLhsl(55, 94%, 75%)
HSVhsv(55, 47%, 98%)
CMYKcmyk(0%, 3.6%, 47%, 1.6%)
CIE-LABlab(94.19, -11.33, 53.32)
CIE-LCHlch(94.19, 54.51, 102.00°)
OKLaboklab(94.6% -0.0327 0.1272)
OKLCHoklch(94.6% 0.131 104.4)
XYZxyz(75.7713, 85.7091, 34.7379)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF285 #858EFB
analogous
#FBB785 #FBF285 #C9FB85
triadic
#FBF285 #85FBF2 #F285FB
tetradic
#FBF285 #85FBB7 #858EFB #FB85C9
square
#FBF285 #85FBB7 #858EFB #FB85C9
split-complementary
#FBF285 #85C9FB #B785FB
monochromatic
#F7E50E #F9EC4A #FBF285 #FDF8C0 #FEFCE1

Accessibility & contrast

On white

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

On black

18.14
#FBF285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF285
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF285#FFFFFF#000000##000000
##FBF2851.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7C
Deuteranopia (green-blind)
#FFF18A
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf285;
/* rgb */ color: rgb(251, 242, 133);
/* oklch */ color: oklch(94.6% 0.131 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff6ab',
    500: '#fbf285',
    950: '#000000',
  },
}
SCSS
$custom: #fbf285;
$custom-light: #fff6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf285",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 133
  },
  "hsl": {
    "h": 55.424,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94596,
    "c": 0.13131,
    "h": 104.4
  },
  "luminance": 0.85707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF285

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

Preview Lab → · Contrast checker → · Palette generator →

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