#FBF479#FBF479

#FBF479 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.9% C 0.145 H 105.9°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#FBF479
RGBrgb(251, 244, 121)
HSLhsl(57, 94%, 73%)
HSVhsv(57, 52%, 98%)
CMYKcmyk(0%, 2.8%, 51.8%, 1.6%)
CIE-LABlab(94.57, -13.33, 59.32)
CIE-LCHlch(94.57, 60.80, 102.67°)
OKLaboklab(94.85% -0.0396 0.1393)
OKLCHoklch(94.85% 0.145 105.9)
XYZxyz(75.5876, 86.5933, 30.8179)
Luminance0.8659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF479 #7980FB
analogous
#FBB379 #FBF479 #C1FB79
triadic
#FBF479 #79FBF4 #F479FB
tetradic
#FBF479 #79FBB3 #7980FB #FB79C1
square
#FBF479 #79FBB3 #7980FB #FB79C1
split-complementary
#FBF479 #79C1FB #B379FB
monochromatic
#F2E607 #F9EF3E #FBF479 #FDF9B4 #FEFDE1

Accessibility & contrast

On white

1.15
#FBF479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#FBF479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF479
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF479#FFFFFF#000000##000000
##FBF4791.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6D
Deuteranopia (green-blind)
#FFF27F
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf479;
/* rgb */ color: rgb(251, 244, 121);
/* oklch */ color: oklch(94.9% 0.145 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff7a3',
    500: '#fbf479',
    950: '#000000',
  },
}
SCSS
$custom: #fbf479;
$custom-light: #fff7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf479",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 121
  },
  "hsl": {
    "h": 56.769,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94853,
    "c": 0.14479,
    "h": 105.9
  },
  "luminance": 0.86591
}

Semantic roles & 50–950 ramp

primary
#FBF479
secondary
#4048D8
accent
#0CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF479

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

Preview Lab → · Contrast checker → · Palette generator →

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