#FBF28D#FBF28D

#FBF28D is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.7% C 0.123 H 104.0°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#FBF28D
RGBrgb(251, 242, 141)
HSLhsl(55, 93%, 77%)
HSVhsv(55, 44%, 98%)
CMYKcmyk(0%, 3.6%, 43.8%, 1.6%)
CIE-LABlab(94.29, -10.59, 49.63)
CIE-LCHlch(94.29, 50.75, 102.04°)
OKLaboklab(94.71% -0.0298 0.1195)
OKLCHoklch(94.71% 0.123 104)
XYZxyz(76.3452, 85.9387, 37.7603)
Luminance0.8594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF28D #8D96FB
analogous
#FBBB8D #FBF28D #CDFB8D
triadic
#FBF28D #8DFBF2 #F28DFB
tetradic
#FBF28D #8DFBBB #8D96FB #FB8DCD
square
#FBF28D #8DFBBB #8D96FB #FB8DCD
split-complementary
#FBF28D #8DCDFB #BB8DFB
monochromatic
#F7E517 #F9EB52 #FBF28D #FDF9C8 #FEFCE1

Accessibility & contrast

On white

1.15
#FBF28D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#FBF28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF28D
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF28D#FFFFFF#000000##000000
##FBF28D1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC85
Deuteranopia (green-blind)
#FFF191
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf28d;
/* rgb */ color: rgb(251, 242, 141);
/* oklch */ color: oklch(94.7% 0.123 104.0);
Tailwind
colors: {
  custom: {
    50: '#fef6b0',
    500: '#fbf28d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf28d;
$custom-light: #fef6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf28d",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 141
  },
  "hsl": {
    "h": 55.091,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94706,
    "c": 0.12321,
    "h": 104
  },
  "luminance": 0.85937
}

Semantic roles & 50–950 ramp

primary
#FBF28D
secondary
#525DDB
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FBF28D

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

Preview Lab → · Contrast checker → · Palette generator →

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