#FBF06F#FBF06F

#FBF06F is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.9% C 0.150 H 104.4°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#FBF06F
RGBrgb(251, 240, 111)
HSLhsl(55, 95%, 71%)
HSVhsv(55, 56%, 98%)
CMYKcmyk(0%, 4.4%, 55.8%, 1.6%)
CIE-LABlab(93.44, -12.14, 62.49)
CIE-LCHlch(93.44, 63.66, 100.99°)
OKLaboklab(93.93% -0.0373 0.1451)
OKLCHoklch(93.93% 0.15 104.4)
XYZxyz(73.8154, 83.9796, 27.3572)
Luminance0.8398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF06F #6F7AFB
analogous
#FBAA6F #FBF06F #C0FB6F
triadic
#FBF06F #6FFBF0 #F06FFB
tetradic
#FBF06F #6FFBAA #6F7AFB #FB6FC0
square
#FBF06F #6FFBAA #6F7AFB #FB6FC0
split-complementary
#FBF06F #6FC0FB #AA6FFB
monochromatic
#E9D706 #F9EA33 #FBF06F #FDF6AB #FEFCE1

Accessibility & contrast

On white

1.18
#FBF06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#FBF06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF06F
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF06F#FFFFFF#000000##000000
##FBF06F1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE962
Deuteranopia (green-blind)
#FFEF76
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbf06f;
/* rgb */ color: rgb(251, 240, 111);
/* oklch */ color: oklch(93.9% 0.150 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff49c',
    500: '#fbf06f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf06f;
$custom-light: #fff49c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf06f",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 55.286,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93927,
    "c": 0.14978,
    "h": 104.4
  },
  "luminance": 0.83977
}

Semantic roles & 50–950 ramp

primary
#FBF06F
secondary
#3844D6
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF06F

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

Preview Lab → · Contrast checker → · Palette generator →

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