#FBF79C#FBF79C

#FBF79C is a very light, moderate yellow. Relative luminance 0.894; OKLCH L 95.9% C 0.113 H 106.2°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#FBF79C
RGBrgb(251, 247, 156)
HSLhsl(57, 92%, 80%)
HSVhsv(57, 38%, 98%)
CMYKcmyk(0%, 1.6%, 37.8%, 1.6%)
CIE-LABlab(95.76, -11.53, 44.22)
CIE-LCHlch(95.76, 45.70, 104.61°)
OKLaboklab(95.94% -0.0313 0.1081)
OKLCHoklch(95.94% 0.113 106.2)
XYZxyz(79.0463, 89.4328, 44.5443)
Luminance0.8943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF79C #9CA0FB
analogous
#FBC89C #FBF79C #CFFB9C
triadic
#FBF79C #9CFBF7 #F79CFB
tetradic
#FBF79C #9CFBC8 #9CA0FB #FB9CCF
square
#FBF79C #9CFBC8 #9CA0FB #FB9CCF
split-complementary
#FBF79C #9CCFFB #C89CFB
monochromatic
#F6ED26 #F9F261 #FBF79C #FDFCD7 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF79C#FFFFFF#000000##000000
##FBF79C1.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)
#FFF095
Deuteranopia (green-blind)
#FFF5A0
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf79c;
/* rgb */ color: rgb(251, 247, 156);
/* oklch */ color: oklch(95.9% 0.113 106.2);
Tailwind
colors: {
  custom: {
    50: '#fef9ba',
    500: '#fbf79c',
    950: '#000000',
  },
}
SCSS
$custom: #fbf79c;
$custom-light: #fef9ba;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf79c",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 156
  },
  "hsl": {
    "h": 57.474,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.95942,
    "c": 0.11256,
    "h": 106.2
  },
  "luminance": 0.89431
}

Semantic roles & 50–950 ramp

primary
#FBF79C
secondary
#5F64DC
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF79C

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

Preview Lab → · Contrast checker → · Palette generator →

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