#FBF179#FBF179
#FBF179 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.142 H 104.5°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF179 |
|---|---|
| RGB | rgb(251, 241, 121) |
| HSL | hsl(55, 94%, 73%) |
| HSV | hsv(55, 52%, 98%) |
| CMYK | cmyk(0%, 4%, 51.8%, 1.6%) |
| CIE-LAB | lab(93.80, -11.86, 58.42) |
| CIE-LCH | lch(93.80, 59.61, 101.48°) |
| OKLab | oklab(94.24% -0.0354 0.1373) |
| OKLCH | oklch(94.24% 0.142 104.5) |
| XYZ | xyz(74.6923, 84.8026, 30.5195) |
| Luminance | 0.8480 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.39
Sandy Yellow
#FDEE73
ΔE00 1.42
Yellowish
#FAEE66
ΔE00 2.05
Manilla
#FFFA86
ΔE00 2.22
Yellowish Tan
#FCFC81
ΔE00 3.07
Custard
#FFFD78
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF179 #7983FB
analogous
#FBB079 #FBF179 #C4FB79
triadic
#FBF179 #79FBF1 #F179FB
tetradic
#FBF179 #79FBB0 #7983FB #FB79C4
square
#FBF179 #79FBB0 #7983FB #FB79C4
split-complementary
#FBF179 #79C4FB #B079FB
monochromatic
#F2E007 #F9EB3E #FBF179 #FDF7B4 #FEFCE1
Accessibility & contrast
On white
1.17
#FBF179 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.96
#FBF179 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF179
17.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF179 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF179 | 1.00 | 1.17 | 17.96 | 17.96 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA6E
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #fbf179; /* rgb */ color: rgb(251, 241, 121); /* oklch */ color: oklch(94.2% 0.142 104.5);
Tailwind
colors: {
custom: {
50: '#fff5a3',
500: '#fbf179',
950: '#000000',
},
}SCSS
$custom: #fbf179; $custom-light: #fff5a3; $custom-dark: #000000;
JSON
{
"hex": "#fbf179",
"rgb": {
"r": 251,
"g": 241,
"b": 121
},
"hsl": {
"h": 55.385,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.94243,
"c": 0.14182,
"h": 104.5
},
"luminance": 0.848
}Semantic roles & 50–950 ramp
primary
#FBF179
secondary
#404CD8
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580