#FBF17D#FBF17D

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

Color values

HEX#FBF17D
RGBrgb(251, 241, 125)
HSLhsl(55, 94%, 74%)
HSVhsv(55, 50%, 98%)
CMYKcmyk(0%, 4%, 50.2%, 1.6%)
CIE-LABlab(93.84, -11.53, 56.63)
CIE-LCHlch(93.84, 57.80, 101.51°)
OKLaboklab(94.29% -0.0341 0.1338)
OKLCHoklch(94.29% 0.138 104.3)
XYZxyz(74.9427, 84.9028, 31.8382)
Luminance0.8490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF17D #7D87FB
analogous
#FBB27D #FBF17D #C6FB7D
triadic
#FBF17D #7DFBF1 #F17DFB
tetradic
#FBF17D #7DFBB2 #7D87FB #FB7DC6
square
#FBF17D #7DFBB2 #7D87FB #FB7DC6
split-complementary
#FBF17D #7DC6FB #B27DFB
monochromatic
#F6E308 #F9EB42 #FBF17D #FDF7B8 #FEFCE1

Accessibility & contrast

On white

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

On black

17.98
#FBF17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF17D
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF17D#FFFFFF#000000##000000
##FBF17D1.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf17d;
/* rgb */ color: rgb(251, 241, 125);
/* oklch */ color: oklch(94.3% 0.138 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff5a5',
    500: '#fbf17d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf17d;
$custom-light: #fff5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf17d",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 125
  },
  "hsl": {
    "h": 55.238,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94291,
    "c": 0.13807,
    "h": 104.3
  },
  "luminance": 0.849
}

Semantic roles & 50–950 ramp

primary
#FBF17D
secondary
#4450D8
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF17D

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

Preview Lab → · Contrast checker → · Palette generator →

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