#FBF799#FBF799

#FBF799 is a very light, moderate yellow. Relative luminance 0.893; OKLCH L 95.9% C 0.116 H 106.3°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#FBF799
RGBrgb(251, 247, 153)
HSLhsl(58, 92%, 79%)
HSVhsv(58, 39%, 98%)
CMYKcmyk(0%, 1.6%, 39%, 1.6%)
CIE-LABlab(95.72, -11.84, 45.63)
CIE-LCHlch(95.72, 47.14, 104.55°)
OKLaboklab(95.9% -0.0325 0.1112)
OKLCHoklch(95.9% 0.116 106.3)
XYZxyz(78.7954, 89.3325, 43.2229)
Luminance0.8933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF799 #999DFB
analogous
#FBC699 #FBF799 #CEFB99
triadic
#FBF799 #99FBF7 #F799FB
tetradic
#FBF799 #99FBC6 #999DFB #FB99CE
square
#FBF799 #99FBC6 #999DFB #FB99CE
split-complementary
#FBF799 #99CEFB #C699FB
monochromatic
#F6EE23 #F9F25E #FBF799 #FDFCD4 #FEFDE2

Accessibility & contrast

On white

1.11
#FBF799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.87
#FBF799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF799
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF799#FFFFFF#000000##000000
##FBF7991.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF092
Deuteranopia (green-blind)
#FFF59D
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf799;
/* rgb */ color: rgb(251, 247, 153);
/* oklch */ color: oklch(95.9% 0.116 106.3);
Tailwind
colors: {
  custom: {
    50: '#fef9b8',
    500: '#fbf799',
    950: '#000000',
  },
}
SCSS
$custom: #fbf799;
$custom-light: #fef9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf799",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 57.551,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95895,
    "c": 0.11582,
    "h": 106.3
  },
  "luminance": 0.89331
}

Semantic roles & 50–950 ramp

primary
#FBF799
secondary
#5C61DC
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF799

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

Preview Lab → · Contrast checker → · Palette generator →

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