#FBF07D#FBF07D

#FBF07D is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.1% C 0.137 H 103.8°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#FBF07D
RGBrgb(251, 240, 125)
HSLhsl(55, 94%, 74%)
HSVhsv(55, 50%, 98%)
CMYKcmyk(0%, 4.4%, 50.2%, 1.6%)
CIE-LABlab(93.59, -11.04, 56.33)
CIE-LCHlch(93.59, 57.40, 101.09°)
OKLaboklab(94.09% -0.0327 0.1331)
OKLCHoklch(94.09% 0.137 103.8)
XYZxyz(74.6475, 84.3124, 31.7398)
Luminance0.8431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF07D #7D88FB
analogous
#FBB17D #FBF07D #C7FB7D
triadic
#FBF07D #7DFBF0 #F07DFB
tetradic
#FBF07D #7DFBB1 #7D88FB #FB7DC7
square
#FBF07D #7DFBB1 #7D88FB #FB7DC7
split-complementary
#FBF07D #7DC7FB #B17DFB
monochromatic
#F6E108 #F9E942 #FBF07D #FDF7B8 #FEFCE1

Accessibility & contrast

On white

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

On black

17.86
#FBF07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF07D
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF07D#FFFFFF#000000##000000
##FBF07D1.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE973
Deuteranopia (green-blind)
#FFEF82
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf07d;
/* rgb */ color: rgb(251, 240, 125);
/* oklch */ color: oklch(94.1% 0.137 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff4a5',
    500: '#fbf07d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf07d;
$custom-light: #fff4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf07d",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 54.762,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94088,
    "c": 0.13709,
    "h": 103.8
  },
  "luminance": 0.8431
}

Semantic roles & 50–950 ramp

primary
#FBF07D
secondary
#4451D8
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF07D

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

Preview Lab → · Contrast checker → · Palette generator →

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