#FBF488#FBF488

#FBF488 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 95.0% C 0.130 H 105.3°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#FBF488
RGBrgb(251, 244, 136)
HSLhsl(56, 93%, 76%)
HSVhsv(56, 46%, 98%)
CMYKcmyk(0%, 2.8%, 45.8%, 1.6%)
CIE-LABlab(94.73, -12.04, 52.57)
CIE-LCHlch(94.73, 53.93, 102.90°)
OKLaboklab(95.04% -0.0345 0.1257)
OKLCHoklch(95.04% 0.13 105.3)
XYZxyz(76.5800, 86.9903, 36.0446)
Luminance0.8699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF488 #888FFB
analogous
#FBBA88 #FBF488 #C8FB88
triadic
#FBF488 #88FBF4 #F488FB
tetradic
#FBF488 #88FBBA #888FFB #FB88C8
square
#FBF488 #88FBBA #888FFB #FB88C8
split-complementary
#FBF488 #88C8FB #BA88FB
monochromatic
#F7E912 #F9EF4D #FBF488 #FDF9C3 #FEFCE1

Accessibility & contrast

On white

1.14
#FBF488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#FBF488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF488
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF488#FFFFFF#000000##000000
##FBF4881.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7F
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf488;
/* rgb */ color: rgb(251, 244, 136);
/* oklch */ color: oklch(95.0% 0.130 105.3);
Tailwind
colors: {
  custom: {
    50: '#fef7ad',
    500: '#fbf488',
    950: '#000000',
  },
}
SCSS
$custom: #fbf488;
$custom-light: #fef7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf488",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 136
  },
  "hsl": {
    "h": 56.348,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.95042,
    "c": 0.13037,
    "h": 105.3
  },
  "luminance": 0.86988
}

Semantic roles & 50–950 ramp

primary
#FBF488
secondary
#4D56DA
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF488

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

Preview Lab → · Contrast checker → · Palette generator →

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