#FBF09C#FBF09C

#FBF09C is a very light, moderate yellow. Relative luminance 0.852; OKLCH L 94.5% C 0.105 H 101.7°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#FBF09C
RGBrgb(251, 240, 156)
HSLhsl(53, 92%, 80%)
HSVhsv(53, 38%, 98%)
CMYKcmyk(0%, 4.4%, 37.8%, 1.6%)
CIE-LABlab(93.98, -8.06, 41.94)
CIE-LCHlch(93.98, 42.71, 100.89°)
OKLaboklab(94.53% -0.0214 0.1029)
OKLCHoklch(94.53% 0.105 101.7)
XYZxyz(76.9458, 85.2317, 43.8441)
Luminance0.8523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF09C #9CA7FB
analogous
#FBC19C #FBF09C #D6FB9C
triadic
#FBF09C #9CFBF0 #F09CFB
tetradic
#FBF09C #9CFBC1 #9CA7FB #FB9CD6
square
#FBF09C #9CFBC1 #9CA7FB #FB9CD6
split-complementary
#FBF09C #9CD6FB #C19CFB
monochromatic
#F6DE26 #F9E761 #FBF09C #FDF9D7 #FEFBE2

Accessibility & contrast

On white

1.16
#FBF09C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#FBF09C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF09C
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF09C#FFFFFF#000000##000000
##FBF09C1.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB96
Deuteranopia (green-blind)
#FFF09F
Tritanopia (blue-blind)
#FFE5DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf09c;
/* rgb */ color: rgb(251, 240, 156);
/* oklch */ color: oklch(94.5% 0.105 101.7);
Tailwind
colors: {
  custom: {
    50: '#fef4ba',
    500: '#fbf09c',
    950: '#000000',
  },
}
SCSS
$custom: #fbf09c;
$custom-light: #fef4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf09c",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 156
  },
  "hsl": {
    "h": 53.053,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.94532,
    "c": 0.10507,
    "h": 101.7
  },
  "luminance": 0.8523
}

Semantic roles & 50–950 ramp

primary
#FBF09C
secondary
#5F6DDC
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF09C

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

Preview Lab → · Contrast checker → · Palette generator →

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