#FBF09F#FBF09F

#FBF09F is a very light, moderate yellow. Relative luminance 0.853; OKLCH L 94.6% C 0.102 H 101.5°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FBF09F
RGBrgb(251, 240, 159)
HSLhsl(53, 92%, 80%)
HSVhsv(53, 37%, 98%)
CMYKcmyk(0%, 4.4%, 36.7%, 1.6%)
CIE-LABlab(94.03, -7.74, 40.51)
CIE-LCHlch(94.03, 41.24, 100.81°)
OKLaboklab(94.58% -0.0202 0.0997)
OKLCHoklch(94.58% 0.102 101.5)
XYZxyz(77.2029, 85.3346, 45.1985)
Luminance0.8533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF09F #9FAAFB
analogous
#FBC29F #FBF09F #D8FB9F
triadic
#FBF09F #9FFBF0 #F09FFB
tetradic
#FBF09F #9FFBC2 #9FAAFB #FB9FD8
square
#FBF09F #9FFBC2 #9FAAFB #FB9FD8
split-complementary
#FBF09F #9FD8FB #C29FFB
monochromatic
#F6DE29 #F9E764 #FBF09F #FDF9DA #FEFAE2

Accessibility & contrast

On white

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

On black

18.07
#FBF09F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF09F
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF09F#FFFFFF#000000##000000
##FBF09F1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEB99
Deuteranopia (green-blind)
#FFF0A2
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf09f;
/* rgb */ color: rgb(251, 240, 159);
/* oklch */ color: oklch(94.6% 0.102 101.5);
Tailwind
colors: {
  custom: {
    50: '#fef4bc',
    500: '#fbf09f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf09f;
$custom-light: #fef4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf09f",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 159
  },
  "hsl": {
    "h": 52.826,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.94582,
    "c": 0.10173,
    "h": 101.5
  },
  "luminance": 0.85333
}

Semantic roles & 50–950 ramp

primary
#FBF09F
secondary
#6170DD
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF09F

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

Preview Lab → · Contrast checker → · Palette generator →

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