#FBF072#FBF072

#FBF072 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 94.0% C 0.147 H 104.3°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#FBF072
RGBrgb(251, 240, 114)
HSLhsl(55, 94%, 72%)
HSVhsv(55, 55%, 98%)
CMYKcmyk(0%, 4.4%, 54.6%, 1.6%)
CIE-LABlab(93.47, -11.92, 61.19)
CIE-LCHlch(93.47, 62.34, 101.02°)
OKLaboklab(93.96% -0.0363 0.1426)
OKLCHoklch(93.96% 0.147 104.3)
XYZxyz(73.9833, 84.0468, 28.2418)
Luminance0.8404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF072 #727DFB
analogous
#FBAB72 #FBF072 #C2FB72
triadic
#FBF072 #72FBF0 #F072FB
tetradic
#FBF072 #72FBAB #727DFB #FB72C2
square
#FBF072 #72FBAB #727DFB #FB72C2
split-complementary
#FBF072 #72C2FB #AB72FB
monochromatic
#ECDA07 #F9EA36 #FBF072 #FDF6AE #FEFCE1

Accessibility & contrast

On white

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

On black

17.81
#FBF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF072
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF072#FFFFFF#000000##000000
##FBF0721.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf072;
/* rgb */ color: rgb(251, 240, 114);
/* oklch */ color: oklch(94.0% 0.147 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff49e',
    500: '#fbf072',
    950: '#000000',
  },
}
SCSS
$custom: #fbf072;
$custom-light: #fff49e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf072",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 55.182,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9396,
    "c": 0.14716,
    "h": 104.3
  },
  "luminance": 0.84044
}

Semantic roles & 50–950 ramp

primary
#FBF072
secondary
#3A47D7
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF072

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

Preview Lab → · Contrast checker → · Palette generator →

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