#FBF17E#FBF17E

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

Color values

HEX#FBF17E
RGBrgb(251, 241, 126)
HSLhsl(55, 94%, 74%)
HSVhsv(55, 50%, 98%)
CMYKcmyk(0%, 4%, 49.8%, 1.6%)
CIE-LABlab(93.85, -11.45, 56.18)
CIE-LCHlch(93.85, 57.34, 101.52°)
OKLaboklab(94.3% -0.0337 0.1329)
OKLCHoklch(94.3% 0.137 104.2)
XYZxyz(75.0069, 84.9285, 32.1764)
Luminance0.8493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF17E #7E88FB
analogous
#FBB37E #FBF17E #C7FB7E
triadic
#FBF17E #7EFBF1 #F17EFB
tetradic
#FBF17E #7EFBB3 #7E88FB #FB7EC7
square
#FBF17E #7EFBB3 #7E88FB #FB7EC7
split-complementary
#FBF17E #7EC7FB #B37EFB
monochromatic
#F7E408 #F9EB43 #FBF17E #FDF7B9 #FEFCE1

Accessibility & contrast

On white

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

On black

17.99
#FBF17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF17E
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF17E#FFFFFF#000000##000000
##FBF17E1.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FFF083
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf17e;
/* rgb */ color: rgb(251, 241, 126);
/* oklch */ color: oklch(94.3% 0.137 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff5a6',
    500: '#fbf17e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf17e;
$custom-light: #fff5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf17e",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 126
  },
  "hsl": {
    "h": 55.2,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94304,
    "c": 0.13712,
    "h": 104.2
  },
  "luminance": 0.84926
}

Semantic roles & 50–950 ramp

primary
#FBF17E
secondary
#4550D9
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF17E

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

Preview Lab → · Contrast checker → · Palette generator →

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