#FBF79D#FBF79D

#FBF79D is a very light, moderate yellow. Relative luminance 0.895; OKLCH L 96.0% C 0.111 H 106.1°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#FBF79D
RGBrgb(251, 247, 157)
HSLhsl(57, 92%, 80%)
HSVhsv(57, 37%, 98%)
CMYKcmyk(0%, 1.6%, 37.5%, 1.6%)
CIE-LABlab(95.78, -11.42, 43.75)
CIE-LCHlch(95.78, 45.22, 104.63°)
OKLaboklab(95.96% -0.0309 0.1071)
OKLCHoklch(95.96% 0.111 106.1)
XYZxyz(79.1313, 89.4668, 44.9921)
Luminance0.8946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF79D #9DA1FB
analogous
#FBC89D #FBF79D #D0FB9D
triadic
#FBF79D #9DFBF7 #F79DFB
tetradic
#FBF79D #9DFBC8 #9DA1FB #FB9DD0
square
#FBF79D #9DFBC8 #9DA1FB #FB9DD0
split-complementary
#FBF79D #9DD0FB #C89DFB
monochromatic
#F6ED27 #F9F262 #FBF79D #FDFCD8 #FEFDE2

Accessibility & contrast

On white

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

On black

18.89
#FBF79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF79D
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF79D#FFFFFF#000000##000000
##FBF79D1.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF096
Deuteranopia (green-blind)
#FFF5A1
Tritanopia (blue-blind)
#FFECE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf79d;
/* rgb */ color: rgb(251, 247, 157);
/* oklch */ color: oklch(96.0% 0.111 106.1);
Tailwind
colors: {
  custom: {
    50: '#fef9bb',
    500: '#fbf79d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf79d;
$custom-light: #fef9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf79d",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 157
  },
  "hsl": {
    "h": 57.447,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.95958,
    "c": 0.11145,
    "h": 106.1
  },
  "luminance": 0.89465
}

Semantic roles & 50–950 ramp

primary
#FBF79D
secondary
#6065DD
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF79D

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

Preview Lab → · Contrast checker → · Palette generator →

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