#FBF171#FBF171
#FBF171 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.2% C 0.149 H 104.8°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF171 |
|---|---|
| RGB | rgb(251, 241, 113) |
| HSL | hsl(56, 95%, 71%) |
| HSV | hsv(56, 55%, 98%) |
| CMYK | cmyk(0%, 4%, 55%, 1.6%) |
| CIE-LAB | lab(93.72, -12.48, 61.92) |
| CIE-LCH | lch(93.72, 63.17, 101.40°) |
| OKLab | oklab(94.15% -0.038 0.1441) |
| OKLCH | oklch(94.15% 0.149 104.8) |
| XYZ | xyz(74.2219, 84.6145, 28.0421) |
| Luminance | 0.8461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.22
Sandy Yellow
#FDEE73
ΔE00 1.40
Straw
#FCF679
ΔE00 1.43
Manilla
#FFFA86
ΔE00 2.71
Custard
#FFFD78
ΔE00 2.89
Butter Yellow
#FFFD74
ΔE00 2.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF171 #717BFB
analogous
#FBAC71 #FBF171 #C0FB71
triadic
#FBF171 #71FBF1 #F171FB
tetradic
#FBF171 #71FBAC #717BFB #FB71C0
square
#FBF171 #71FBAC #717BFB #FB71C0
split-complementary
#FBF171 #71C0FB #AC71FB
monochromatic
#EBDA07 #F9EB35 #FBF171 #FDF7AD #FEFCE1
Accessibility & contrast
On white
1.17
#FBF171 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.92
#FBF171 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF171
17.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF171 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF171 | 1.00 | 1.17 | 17.92 | 17.92 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #fbf171; /* rgb */ color: rgb(251, 241, 113); /* oklch */ color: oklch(94.2% 0.149 104.8);
Tailwind
colors: {
custom: {
50: '#fff59e',
500: '#fbf171',
950: '#000000',
},
}SCSS
$custom: #fbf171; $custom-light: #fff59e; $custom-dark: #000000;
JSON
{
"hex": "#fbf171",
"rgb": {
"r": 251,
"g": 241,
"b": 113
},
"hsl": {
"h": 55.652,
"s": 94.521,
"l": 71.373
},
"oklch": {
"l": 0.94152,
"c": 0.149,
"h": 104.8
},
"luminance": 0.84612
}Semantic roles & 50–950 ramp
primary
#FBF171
secondary
#3945D7
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580