#FBF279#FBF279

#FBF279 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.143 H 105.0°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#FBF279
RGBrgb(251, 242, 121)
HSLhsl(56, 94%, 73%)
HSVhsv(56, 52%, 98%)
CMYKcmyk(0%, 3.6%, 51.8%, 1.6%)
CIE-LABlab(94.05, -12.35, 58.72)
CIE-LCHlch(94.05, 60.00, 101.88°)
OKLaboklab(94.45% -0.0368 0.138)
OKLCHoklch(94.45% 0.143 105)
XYZxyz(74.9891, 85.3963, 30.6184)
Luminance0.8539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF279 #7982FB
analogous
#FBB179 #FBF279 #C3FB79
triadic
#FBF279 #79FBF2 #F279FB
tetradic
#FBF279 #79FBB1 #7982FB #FB79C3
square
#FBF279 #79FBB1 #7982FB #FB79C3
split-complementary
#FBF279 #79C3FB #B179FB
monochromatic
#F2E207 #F9EC3E #FBF279 #FDF8B4 #FEFCE1

Accessibility & contrast

On white

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

On black

18.08
#FBF279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF279
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF279#FFFFFF#000000##000000
##FBF2791.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf279;
/* rgb */ color: rgb(251, 242, 121);
/* oklch */ color: oklch(94.4% 0.143 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fbf279',
    950: '#000000',
  },
}
SCSS
$custom: #fbf279;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf279",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 121
  },
  "hsl": {
    "h": 55.846,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94446,
    "c": 0.14279,
    "h": 105
  },
  "luminance": 0.85394
}

Semantic roles & 50–950 ramp

primary
#FBF279
secondary
#404BD8
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF279

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

Preview Lab → · Contrast checker → · Palette generator →

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