#FBF273#FBF273

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

Color values

HEX#FBF273
RGBrgb(251, 242, 115)
HSLhsl(56, 94%, 72%)
HSVhsv(56, 54%, 98%)
CMYKcmyk(0%, 3.6%, 54.2%, 1.6%)
CIE-LABlab(93.99, -12.82, 61.35)
CIE-LCHlch(93.99, 62.67, 101.81°)
OKLaboklab(94.38% -0.0388 0.1431)
OKLCHoklch(94.38% 0.148 105.2)
XYZxyz(74.6326, 85.2537, 28.7406)
Luminance0.8525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF273 #737CFB
analogous
#FBAE73 #FBF273 #C0FB73
triadic
#FBF273 #73FBF2 #F273FB
tetradic
#FBF273 #73FBAE #737CFB #FB73C0
square
#FBF273 #73FBAE #737CFB #FB73C0
split-complementary
#FBF273 #73C0FB #AE73FB
monochromatic
#EDDE07 #F9EC38 #FBF273 #FDF8AF #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #fbf273;
/* rgb */ color: rgb(251, 242, 115);
/* oklch */ color: oklch(94.4% 0.148 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff69f',
    500: '#fbf273',
    950: '#000000',
  },
}
SCSS
$custom: #fbf273;
$custom-light: #fff69f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf273",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 56.029,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94378,
    "c": 0.14822,
    "h": 105.2
  },
  "luminance": 0.85251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF273

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

Preview Lab → · Contrast checker → · Palette generator →

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