#FBF272#FBF272

#FBF272 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.4% C 0.149 H 105.2°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#FBF272
RGBrgb(251, 242, 114)
HSLhsl(56, 94%, 72%)
HSVhsv(56, 55%, 98%)
CMYKcmyk(0%, 3.6%, 54.6%, 1.6%)
CIE-LABlab(93.98, -12.90, 61.78)
CIE-LCHlch(93.98, 63.11, 101.79°)
OKLaboklab(94.37% -0.0391 0.1439)
OKLCHoklch(94.37% 0.149 105.2)
XYZxyz(74.5753, 85.2308, 28.4392)
Luminance0.8523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF272 #727BFB
analogous
#FBAE72 #FBF272 #C0FB72
triadic
#FBF272 #72FBF2 #F272FB
tetradic
#FBF272 #72FBAE #727BFB #FB72C0
square
#FBF272 #72FBAE #727BFB #FB72C0
split-complementary
#FBF272 #72C0FB #AE72FB
monochromatic
#ECDD07 #F9ED36 #FBF272 #FDF7AE #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF272#FFFFFF#000000##000000
##FBF2721.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)
#FFEA65
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf272;
/* rgb */ color: rgb(251, 242, 114);
/* oklch */ color: oklch(94.4% 0.149 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff69e',
    500: '#fbf272',
    950: '#000000',
  },
}
SCSS
$custom: #fbf272;
$custom-light: #fff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf272",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 56.058,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94367,
    "c": 0.1491,
    "h": 105.2
  },
  "luminance": 0.85228
}

Semantic roles & 50–950 ramp

primary
#FBF272
secondary
#3A45D7
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF272

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

Preview Lab → · Contrast checker → · Palette generator →

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