#FBF277#FBF277
#FBF277 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.145 H 105.0°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF277 |
|---|---|
| RGB | rgb(251, 242, 119) |
| HSL | hsl(56, 94%, 73%) |
| HSV | hsv(56, 53%, 98%) |
| CMYK | cmyk(0%, 3.6%, 52.6%, 1.6%) |
| CIE-LAB | lab(94.03, -12.51, 59.60) |
| CIE-LCH | lch(94.03, 60.90, 101.86°) |
| OKLab | oklab(94.42% -0.0375 0.1397) |
| OKLCH | oklch(94.42% 0.145 105) |
| XYZ | xyz(74.8677, 85.3477, 29.9792) |
| Luminance | 0.8535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.03
Sandy Yellow
#FDEE73
ΔE00 1.63
Yellowish
#FAEE66
ΔE00 1.90
Manilla
#FFFA86
ΔE00 2.11
Custard
#FFFD78
ΔE00 2.71
Yellowish Tan
#FCFC81
ΔE00 2.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF277 #7780FB
analogous
#FBB077 #FBF277 #C2FB77
triadic
#FBF277 #77FBF2 #F277FB
tetradic
#FBF277 #77FBB0 #7780FB #FB77C2
square
#FBF277 #77FBB0 #7780FB #FB77C2
split-complementary
#FBF277 #77C2FB #B077FB
monochromatic
#F1E107 #F9EC3C #FBF277 #FDF8B2 #FEFCE1
Accessibility & contrast
On white
1.16
#FBF277 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.07
#FBF277 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF277
18.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF277 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF277 | 1.00 | 1.16 | 18.07 | 18.07 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6B
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fbf277; /* rgb */ color: rgb(251, 242, 119); /* oklch */ color: oklch(94.4% 0.145 105.0);
Tailwind
colors: {
custom: {
50: '#fff6a1',
500: '#fbf277',
950: '#000000',
},
}SCSS
$custom: #fbf277; $custom-light: #fff6a1; $custom-dark: #000000;
JSON
{
"hex": "#fbf277",
"rgb": {
"r": 251,
"g": 242,
"b": 119
},
"hsl": {
"h": 55.909,
"s": 94.286,
"l": 72.549
},
"oklch": {
"l": 0.94423,
"c": 0.14463,
"h": 105
},
"luminance": 0.85345
}Semantic roles & 50–950 ramp
primary
#FBF277
secondary
#3F49D8
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580