#FBF17B#FBF17B

#FBF17B is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.3% C 0.140 H 104.4°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#FBF17B
RGBrgb(251, 241, 123)
HSLhsl(55, 94%, 73%)
HSVhsv(55, 51%, 98%)
CMYKcmyk(0%, 4%, 51%, 1.6%)
CIE-LABlab(93.82, -11.70, 57.53)
CIE-LCHlch(93.82, 58.71, 101.50°)
OKLaboklab(94.27% -0.0348 0.1356)
OKLCHoklch(94.27% 0.14 104.4)
XYZxyz(74.8162, 84.8522, 31.1721)
Luminance0.8485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF17B #7B85FB
analogous
#FBB17B #FBF17B #C5FB7B
triadic
#FBF17B #7BFBF1 #F17BFB
tetradic
#FBF17B #7BFBB1 #7B85FB #FB7BC5
square
#FBF17B #7BFBB1 #7B85FB #FB7BC5
split-complementary
#FBF17B #7BC5FB #B17BFB
monochromatic
#F4E207 #F9EB40 #FBF17B #FDF7B6 #FEFCE1

Accessibility & contrast

On white

1.17
#FBF17B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.97
#FBF17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF17B
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF17B#FFFFFF#000000##000000
##FBF17B1.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA70
Deuteranopia (green-blind)
#FFF081
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf17b;
/* rgb */ color: rgb(251, 241, 123);
/* oklch */ color: oklch(94.3% 0.140 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff5a4',
    500: '#fbf17b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf17b;
$custom-light: #fff5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf17b",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 123
  },
  "hsl": {
    "h": 55.313,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94267,
    "c": 0.13996,
    "h": 104.4
  },
  "luminance": 0.8485
}

Semantic roles & 50–950 ramp

primary
#FBF17B
secondary
#424ED8
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF17B

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

Preview Lab → · Contrast checker → · Palette generator →

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